kamikaze, find and speed

6 views
Skip to first unread message

mpm

unread,
May 1, 2009, 11:54:31 AM5/1/09
to kamikaze
Hi--

I'm the same mmastroianni who's been corresponding with you on the
lucene lists. I'm gradually refactoring my code to use kamikaze, and
have noticed that the use of findwithindex for AndDocIdSets is, as the
docs describe, really slow.

At the same time, I can't use plain old find on the p4DocIdSet without
facing crashes. Can I use find on the boolean sets, and findWithIndex
just on the P4DocIdSets?

The speed issues with the findWithIndex seem to be pretty much killers
for me.


regards,
Michael

Anmol Bhasin

unread,
May 1, 2009, 1:55:41 PM5/1/09
to kamikaz...@googlegroups.com
Hi Michael,

You bring up a very valid point. There is no reason why find should not work on P4DDocIdSet. We have identified the issue in the find on P4D. To get it in along with the other issues you mentioned, is I believe thats the right fix for this problem. I will try to get some work in today push out the release by EOD/tomorrow evening. I believe the 1.0.7 library did not go out with due diligence :)

Also, you may want to call Optimize on the DocSets before using them for Iteration or find. That chips out extra memory unused by the docsets.

I thank you for manhandling the library :) and find all of these bugs for us. I assure you of quick fixes.

Anmol



Anmol 
--
Courage doesn't always roar. Sometimes courage is the quiet voice at the end of the day saying, "I  will try again tomorrow"


Anmol Bhasin
SSE Data Platform
www.linkedin.com

mpm

unread,
May 1, 2009, 2:00:20 PM5/1/09
to kamikaze
Great, thanks. Once I have that, I think I'll be past all my blocking
issues.

regards,
Michael

mpm

unread,
May 1, 2009, 2:01:31 PM5/1/09
to kamikaze
Great, thanks. Once I have that, I think I'll be past all my blocking
issues.

regards,
Michael

On May 1, 1:55 pm, Anmol Bhasin <anmol.bha...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages