DO NOT REPLY [Bug 35454] - ParallelReader crashes when trying to merge into a new index

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 35454] - ParallelReader crashes when trying to merge into a new index

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35454>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35454





------- Additional Comments From [hidden email]  2005-06-22 11:19 -------
Created an attachment (id=15509)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15509&action=view)
Attempt to fix it, which causes an exception in TermInfosReader instead

(In reply to comment #1)
> Created an attachment (id=15503)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15503&action=view) [edit]
> possible fix (untested)
>
> The problem might be that in ParallelReader, the "readers" list is never
> actually modified. This tries to fix it (not tested at all, sorry).

I tried your suggestion, but it does not change the symptoms.

I also tried a different approach, passing the null argument to seek() on to
the individual IndexReaders and let them deal with it, but this causes a
NullPointerException in a different place
(org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:140))

See attached diff and test output.

--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]