Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11175

FuzzyLookupFactory with DocumentDictionaryFactory returns only one result for document

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            taedh Grzegorz Liszka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: