You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grzegorz Liszka (JIRA)" <ji...@apache.org> on 2017/08/01 08:44:00 UTC

[jira] [Created] (SOLR-11175) FuzzyLookupFactory with DocumentDictionaryFactory returns only one result for document

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org