【发布时间】:2012-02-18 17:29:24
【问题描述】:
我根据http://wiki.apache.org/solr/SpellCheckComponent 的文档实现了 Solr SpellCheck 组件,效果很好。但我正在尝试根据其他过滤器过滤拼写检查结果。考虑以下架构
product_name
product_text
product_category
product_spell -> copy string from product_name and product_text . And tokenized using white space analyzer
对于上述架构,我正在尝试根据提供的类别过滤拼写检查结果。我尝试像 http://127.0.0.1:8080/solr/colr1/myspellcheck/?q=product_category:160%20appl&spellcheck=true&spellcheck.extendedResults=true&spellcheck.collate=true 这样查询。 拼写检查结果不考虑 product_category:160
是因为字典是为所有类别构建的吗?如果是这样,为每个类别创建字典是个好主意吗?
拼写检查组件中不能有另一个过滤条件吗?
我正在使用 solr 3.5
【问题讨论】:
标签: solr spell-checking