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/14 17:08:45 UTC
[jira] Created: (LUCENE-455) FieldsReader does not regard offset and position flags
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Closed: (LUCENE-455) FieldsReader does not regard offset and position flags
Posted by "Bernhard Messer (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-455?page=all ]
Bernhard Messer closed LUCENE-455:
----------------------------------
Fix Version: CVS Nightly - Specify date in submission
Resolution: Fixed
> 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
> Fix For: CVS Nightly - Specify date in submission
> 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
[jira] Updated: (LUCENE-455) FieldsReader does not regard offset and position flags
Posted by "Frank Steinmann (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (LUCENE-455) FieldsReader does not regard offset and position flags
Posted by "Bernhard Messer (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LUCENE-455?page=comments#action_12332492 ]
Bernhard Messer commented on LUCENE-455:
----------------------------------------
Frank,
thanks for the patch. I've reviewed it and commited it.
Bernhard
> 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