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

FieldsReader does not regard offset and position flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • None
    • core/index
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: