Quantcast
Channel: Hue, the self service open source Analytics Workbench for browsing, querying and visualizing data interactively
Viewing all articles
Browse latest Browse all 171

Suggest for Solr Search Dashboards

$
0
0

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!

 

How-to

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

romain@unreal:$ ./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:
http://localhost:8983/solr/admin/cores?action=STATUS&core=techproducts

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

http://127.0.0.1:8983/solr/#/techproducts/files?file=solrconfig.xml

 <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>
    </lst>
  </searchComponent>

 

then activate the suggester in the Hue Dashboard settings:
suggester-settings

and see the help in the query box:
search-suggest


Viewing all articles
Browse latest Browse all 171

Trending Articles