Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8315

Make FeatureField easier to use

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      I'd like to do some changes to FeatureField so that when the saturation function is used and the pivot should be computed automatically from index statistics, then things also work as expected with distributed term frequencies. It works by returning the feature term in extractTerms.

      As a side-effect, no need to provide the IndexSearcher when creating the query anymore, it is autamatically picked up at rewrite time, which makes it nicer to use too.

        Attachments

        1. LUCENE-8315.patch
          15 kB
          Adrien Grand

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpountz Adrien Grand
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: