0xCAB / zoie

Automatically exported from code.google.com/p/zoie
0 stars 0 forks source link

UIDDocIdSet not working as expected #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Query q = new ConstantScoreQuery(new UIDFilter(myuids)); 
2. And run this query;

What is the expected output? What do you see instead?
Expected: If there are uids not existing, do not raise exceptions.
See: ArrayOutOfBound exception raised.

What version of the product are you using? On what operating system?
ZOIE_LUCENE_2.9 branch on debian.

Please provide any additional information below.
docid not found checking in mapUID is buggy.
and my patch attached.

Original issue reported on code.google.com by won...@gmail.com on 26 Oct 2009 at 5:06

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks Lei!

Original comment by john.w...@gmail.com on 27 Oct 2009 at 8:24