lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Steinmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-455) FieldsReader does not regard offset and position flags
Date Mon, 17 Oct 2005 12:08:48 GMT
     [ 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


Mime
View raw message