配置产品搜索

出自Opentaps Wiki

跳转到: 导航, 搜索

配置在线商店的商品搜索功能,可以通过编辑 applications/product/config/prodsearch.properties 文件. 这个文件包括从产品相关的实体当中产生搜索关键字的"相关度"信息.

如果要配置关键字的别名, 使用 Catalog Manager > Thesaurus 屏幕. 输入别名在"keyword" 字段, 在 "alternate" 字段输入关键字. 例如, 当用户搜索 "lapptop"时,如果你想让搜索的结果包括 laptop , 则需要输入 "lapptop" 在关键字字段 , "laptop" 在 alternate 字段, 你可以使用 "correct spelling" 作为关系.



© 2008-2010 Open Source Strategies, Inc. Development of this documentation site is sponsored by Open Source Strategies, Inc.
Help support opentaps with a subscription to this documentation site.