Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6660 Improve the usability for the new Suggester
  3. SOLR-6656

FreeTextLookupFactory QUERY_ANALYZER constants value should be "suggestAnalyzerFieldType"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.8, 4.8.1, 4.9, 4.9.1, 4.10, 4.10.1
    • 5.0, 6.0
    • None

    Description

      In our lookup factories, the value for the constant QUERY_ANALYZER is :

      AnalyzingLookupFactory and AnalyzingInfixLookupFactory = "suggestAnalyzerFieldType"

      FuzzyLookupFactory refers to AnalyzingLookupFactory.QUERY_ANALYZER

      While FreeTextLookupFactory uses "suggestFreeTextAnalyzerFieldType"

      I think we should keep the constant QUERY_ANALYZER in LookupFactory and let all the factories that use them reference it.

      Patch would be very simple but should we deprecate in branch_5x and remove it in trunk , or remove it in both branches?

      Attachments

        Activity

          People

            Unassigned Unassigned
            varun Varun Thacker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: