Suggest for Solr Search Dashboards

Suggest for Solr Search Dashboards

Hey Search users,

The upcoming Hue version supports Solr Suggester and makes your data easier to search! Suggester assists the user by proposing an auto-completable list of queries:



We hope that you like the interactivity, and feel free to send feedback on the hue-user list or @gethue!



First grab a Solr 5, start it and make sure that it has a suggester configured:

[email protected]:$ ./bin/solr -e techproducts
Waiting to see Solr listening on port 8983 [/]  
Started Solr server on port 8983 (pid=23696). Happy searching!

Checked core existence using Core API command:

Confirm that Solr has a suggester configured, here named mySuggester:

 <searchComponent name="suggest" class="solr.SuggestComponent">
    <lst name="suggester">
      <str name="name">mySuggester</str>
      <str name="lookupImpl">FuzzyLookupFactory</str>      
      <str name="dictionaryImpl">DocumentDictionaryFactory</str>
      <str name="field">cat</str>
      <str name="weightField">price</str>
      <str name="suggestAnalyzerFieldType">string</str>
      <str name="buildOnStartup">false</str>


then activate the suggester in the Hue Dashboard settings:

and see the help in the query box: