You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Frank Steinmann (JIRA)" <ji...@apache.org> on 2005/10/17 14:08:48 UTC
[jira] Updated: (LUCENE-455) FieldsReader does not regard offset and position flags
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org