You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Commit Tag Bot (JIRA)" <ji...@apache.org> on 2013/03/22 17:19:22 UTC

[jira] [Commented] (LUCENE-4466) Bounds check inconsistent for stored fields vs term vectors

    [ https://issues.apache.org/jira/browse/LUCENE-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610572#comment-13610572 ] 

Commit Tag Bot commented on LUCENE-4466:
----------------------------------------

[branch_4x commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1407608

LUCENE-4466: bounds check term vectors in segmentreader, not the codec

                
> Bounds check inconsistent for stored fields vs term vectors 
> ------------------------------------------------------------
>
>                 Key: LUCENE-4466
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4466
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>            Reporter: Robert Muir
>             Fix For: 4.1, 5.0
>
>         Attachments: LUCENE-4466.patch
>
>
> SegmentReader.document does the check for stored fields. Codec's dont.
> SegmentReader.getTermVectors doesnt do the check for vectors. Codec does.
> I think we should move the vectors check out to SR, too. Codecs can have an assert if they want, but the APIs should look more consistent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org