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

unindexed (stored-only) fields prevent future indexing of offsets

Details

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

    Description

      this is because we bogusly set FieldInfo.indexOptions to DOCS_AND_FREQS_AND_POSITIONS if the field is stored-only.

      I don't think we should do that: the indexOptions should be null.

      Attachments

        1. LUCENE-4088.patch
          2 kB
          Robert Muir
        2. LUCENE-4088.patch
          19 kB
          Robert Muir
        3. LUCENE-4088.patch
          22 kB
          Robert Muir

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: