w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Solr & Suggestions - When does the search engine generate (build) suggestions

buildOnOptimize is practically useless, you can optimize your index only manually from the admin panel, for example. buildOnCommit will rebuild your suggestions index too often (depending on the hardCommit settings in solrconfig.xml). It is better to rebuild suggestions manually using cron jobs by adding spellcheck.build=true to the spellcheck handler.

Try to increase spellcheck.count and set spellcheck.onlyMorePopular=false to show more suggestions.

If you still receive less results, than spellcheck.count try to increase spellcheck.alternativeTermCount (the bigger the slower).

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.