Grzegorz Liszka created SOLR-11175:
--------------------------------------

             Summary: FuzzyLookupFactory with DocumentDictionaryFactory returns 
only one result for document
                 Key: SOLR-11175
                 URL: https://issues.apache.org/jira/browse/SOLR-11175
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Grzegorz Liszka


I have setup the Suggester as follows:
<lst name="suggester">
    <str name="name">SuggesterExact</str>
    <str name="lookupImpl">FuzzyLookupFactory</str>
    <str name="indexPath">suggester_exact_fuzzy_dir</str>
    <str name="exactMatchFirst">true</str>      
    <str name="dictionaryImpl">DocumentDictionaryFactory</str>
    <str name="field">ProductGroup</str>
    <str name="payloadField">Identity</str>             
    <str name="suggestAnalyzerFieldType">suggestTypeLc</str>
    <str name="buildOnStartup">true</str>
    <str name="buildOnCommit">false</str>
   <str name="buildOnOptimize">true</str>
</lst> 

When we pass a query like "apple" and there are more 3 documents with 
PeoductGroup such as "apples". Solr returns only one suggestion instead of 3.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to