Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

*Valid for version Locator 2.9->9→

Note: be sure to use a field that is indexed, the below example requires Lingo/Supervisor. Name must match in all 3 places (bolded)

  1. Add your new suggerter suggester to solr.config or override like this example:

...

    <lst name="suggester">
      <str name="name">Person<>Person</str>
      <str name="lookupImpl">FuzzyLookupFactory</str>

...

      <str name="storeDir">suggester_fuzzy_dir_generic</str>
      <str name="field">lingo>lingo_person<person</str>
      <str name="suggestAnalyzerFieldType">phrase_suggest</str>

...

    <str name="suggest.dictionary">Person<>Person</str>
</add>
2. Add the suggester name to index_settings table:

...

22;"460f7ec6-8ddd-4654-af5b-8d5b2d72131e";"SuggestersToGroup";"Person";"2018-05-16 09:02:06.184858";"2018-05-16 09:02:09.322259"
  1. Upload changes to ZooKeeper. From CMD, run: solr zk upconfig -z localhost:9983 -n ViaWorksCloud -d C:\ProgramData\ayfie\Locator\Solr\configsets\ViaWorksCloud\conf
  2. Reload the Solr core by browsing to http://localhost:8983/solr/#/~collections/ViaWorksCloud and clicking "Reload"


Grouped suggestions will now appear in the suggestion box after 3 characters are entered under the group heading with the Name used in the configuration.