[ http://issues.apache.org/jira/browse/LUCENE-455?page=all ]
Frank Steinmann updated LUCENE-455:
-----------------------------------
Attachment: FieldsReader.java
Here is a patch that solves the problem. The FieldsReader now looks at
FieldInfo.storeOffsetWithTermVector and FieldInfo.storePositionWithTermVector
and creates the Field with the correct TermVector parameter.
> 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
> Attachments: FieldsReader.java
>
> 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]