Solr(5.3.1) Spell check vs Suggest

2019-06-03 10:16发布

问题:

All, Forgive me I just work with Solr for a couple of days. As I knew . both SpellCheck module and Suggest module can do the auto-completion in the solr. So what is the difference between them ? In what case I should use one of them , not another? I tried to search it in the internet. But didn't found anything telling about it. Did I miss something ? Thanks.

回答1:

They do similar task: provide user with similar terms.

But Suggester is more powerful, there is a SuggestComponent that supports all of the lookup implementations available in Lucene.

So, use Suggester if u want to build a power suggestion service to user.

Check solr reference for details.



标签: solr