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

add CodecHeader to .frq and .prx

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA, 6.0
    • None
    • None
    • New

    Description

      We did this for all other files, but not .frq/.prx.

      Currently the postings writer only records itself in the blocktree terms dictionary, which is fine, but thats really documenting the .tim itself, that it is "Blocktree with Lucene40Postings metadata".

      I think we should put headers in .frq/.prx as well: e.g. it could detect file jumbling.

      Attachments

        1. LUCENE-4129.patch
          13 kB
          Robert Muir
        2. LUCENE-4129.patch
          13 kB
          Robert Muir
        3. LUCENE-4129.patch
          18 kB
          Robert Muir

        Activity

          People

            rcmuir Robert Muir
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: