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

Make FeatureField easier to use

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.4, 8.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: