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!

 

How-to

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:
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

2 Comments

  1. Fabrizio 11 months ago

    HI Guys, just landed here. Astonishing platform, my sincere compliments for your effort and engagement

    I’ve only 1 question, at the moment , related to search dashboard and its data discovery capabilities

    The question is : is it ( or will it be ) possible to extend the analytic function available? I mean, at the moment i can get very easily a Count(Distinct IP) or Average(SessionTime) but what if i want to combine them ? Something like Average(SessionTime)/Count(Distinct IP) ?

    It would be more expressive!

    Thanks for your kind attention, wait for a Kind reply
    Fabrizio

Leave a reply

Your email address will not be published. Required fields are marked *

*