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

Omit positions but keep termFreq

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1
    • 3.4, 4.0-ALPHA
    • core/index
    • None
    • New

    Description

      it would be useful to have an option to discard positional information but still keep the term frequency - currently setOmitTermFreqAndPositions discards both. Even though position-dependent queries wouldn't work in such case, still any other queries would work fine and we would get the right scoring.

      Attachments

        1. LUCENE-2048.patch
          152 kB
          Robert Muir
        2. LUCENE-2048.patch
          109 kB
          Robert Muir

        Issue Links

          Activity

            People

              rcmuir Robert Muir
              ab Andrzej Bialecki
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: