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

FieldsReader does not regard offset and position flags

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: core/index
    • Labels:
      None

      Description

      When creating a Field the FieldsReader looks at the storeTermVector flag of the FieldInfo. If true Field.TermVector.YES is used as parameter. But it should be checked if storeOffsetWithTermVector and storePositionWithTermVector are set and Field.TermVector.WITH_OFFSETS, ...WITH_POSITIONS, or ...WITH_POSITIONS_OFFSETS should be used as appropriate.

        Attachments

        1. FieldsReader.java
          5 kB
          Frank Steinmann

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stoney Frank Steinmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: