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

allow separate control of whether docTermFreq and positions are indexed

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      [Spinoff of LUCENE-2308... we keep spinning things off... I feel like we live inside a particle accelerator]

      Right now Lucene indexes the docTermFreq and positions into the postings, by default.

      You can use omitTFAP to turn them both off, which if you also omit norms gives you "match only" scoring.

      But, really, they ought to be separately controllable – one may want to include docTermFreq but not positions, to get full scoring for non-positional phrases.

      Probably we should wait until LUCENE-2308 is done, and make the API change on *FieldType.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mikemccand Michael McCandless
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: