lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4466) Bounds check inconsistent for stored fields vs term vectors
Date Mon, 08 Oct 2012 17:54:02 GMT
Robert Muir created LUCENE-4466:
-----------------------------------

             Summary: 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


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


Mime
View raw message