FieldsReader does not regard offset and position flags
------------------------------------------------------

         Key: LUCENE-455
         URL: http://issues.apache.org/jira/browse/LUCENE-455
     Project: Lucene - Java
        Type: Bug
  Components: Index  
    Versions: 1.9    
    Reporter: Frank Steinmann
    Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to