SearchStax Help Center


Suggester was not Built

SearchStax Managed Search service clients sometimes ask us about a solr.log message indicating that the Solr suggester search component failed to rebuild after an update.

2024-01-09 00:01:29.153 ERROR (qtp1047087935-1695338) [c:product s:shard1 r:core_node4 x:product_shard1_replica_n3] o.a.s.s.HttpSolrCall null:java.lang.IllegalStateException: suggester was not built

The critical phrase is:

suggester was not built

Solr’s suggestions feature is not normally enabled in Managed Search because it must be configured on a case-by-case basis. It builds an index of keywords from incoming queries. The “suggester” responds to an incoming query by serving up keywords to display as suggestions on the search page.

The “suggester was not built” error usually follows a flurry of malformed queries that cannot be integrated into the suggestion index.

The immediate remedy is to send a “build” message to the /suggest endpoint:

curl '<solr HTTP endpoint>/<collectionName>/suggest?suggest.buildAll=true' 

If the problem becomes chronic, contact SearchStax support.

Questions?

Do not hesitate to contact the SearchStax Support Desk.


Return to Frequently Asked Questions.