Suggester with filter

1 like 0 dislike
Trying to implement a suggester with filter. The suggester I got up and running looks like this:

  <searchComponent name="suggest" class="solr.SuggestComponent">
    <lst name="suggester">
      <str name="name">magicsSuggester</str>
      <str name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookupFactory</str>
      <str name="field">fulltext_1_de</str>
      <str name="weightField">popularity</str>
      <str name="suggestAnalyzerFieldType">string</str>
      <str name="buildOnOptimize">true</str>
  <requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
    <lst name="defaults">
      <str name="suggest">true</str>
      <str name="suggest.count">10</str>
      <str name="suggest.dictionary">magicsSuggester</str>
    <arr name="components">

But "qf", "fq" or "cfq" show no effect. What am I missing?
asked Oct 10, 2017 in Solr Config Files by anonymous

1 Answer

0 like 0 dislike
Perhaps you're missing some settings.
The Solr wiki should help:

Hope it helps...
answered Oct 11, 2017 by admin (3,640 points)