Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-51869

Make solr-web plugin capable of handling FuzzyLookupFactory suggester

    Details

      Description

      One of our Customers would like to use the FuzzyLookupFactory Suggester feature of Solr, but currently it is not working with any of the versions of solr-web plugin.

      According to https://cwiki.apache.org/confluence/display/solr/Suggester the solrconfig.xml should be configured similar to this:

      <searchComponent name="suggest" class="solr.SuggestComponent">
         <lst name="suggester">
            <str name="name">mySuggester</str>
            <str name="lookupImpl">FuzzyLookupFactory</str>
            <str name="dictionaryImpl">DocumentDictionaryFactory</str>
            <str name="field">cat</str>
            <str name="weightField">price</str>
            <str name="suggestAnalyzerFieldType">string</str>
         </lst>
      </searchComponent>
      
      <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">mySuggester</str>    
          </lst>
          <arr name="components">
            <str>suggest</str>
          </arr>
        </requestHandler>
      

      However this is currently not working. We suggest this feature to be implemented in future versions of the solr-web plugin.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                tamas.zoboki Tamas Zoboki (Inactive)
              • Votes:
                7 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package