[ 
http://issues.apache.org/jira/browse/LUCENE-683?page=comments#action_12442429 ] 
            
Yonik Seeley commented on LUCENE-683:
-------------------------------------

Found it... the thread local that held the fieldsStream was static, and hence 
not bound to any particular FieldsReader!
Essentially that means that the offset and size were read from a random 
segment, not necessarily the segment the field value was stored in.


> Lazy Field Loading has edge case bug causing read past EOF
> ----------------------------------------------------------
>
>                 Key: LUCENE-683
>                 URL: http://issues.apache.org/jira/browse/LUCENE-683
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>            Reporter: Hoss Man
>            Priority: Critical
>         Attachments: TestLazyBug.java
>
>
> While trying to run some benchmarking of Lazy filed loading, i discovered 
> there seems to be an edge case when accessing the last field of the last doc 
> of an index.
> the problem seems to only happen when the doc has been accessed after at 
> least one other doc.
> i have not tried to dig into the code to find the root cause, testcase to 
> follow...

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to