RE: kamikaze

2009-04-30 Thread molz
; > -Original Message- > From: molz [mailto:anmol.bha...@gmail.com] > Sent: Thursday, April 30, 2009 3:33 PM > To: java-user@lucene.apache.org > Subject: RE: kamikaze > > > > Hi, > > That method needs to be deprecated. Please use findWithIndex() instead. > I

RE: kamikaze

2009-04-30 Thread molz
; } > } > nums.add(nextDoc); > seen.add(nextDoc); > } > Collections.sort(nums); > DocSet docs = new P4DDocIdSet(); > for (Integer integer : nums) > { > docs.add

RE: kamikaze

2009-04-29 Thread molz
Hi Michael, 2 Questions. 1. What version of Kamikaze are you running with? 2. Can you try the snippet below and let me know if it fails ? I ran it 20 times and it did not fail. Maybe there is some difference in the utitlity methods you have ? I am still trying to track down if anything is of

RE: kamikaze

2009-04-29 Thread molz
ot;unused") > int docId = -1; > while(iter.next()) > { > docId = iter.doc(); > } > } > catch(Exception e) > { > System.out.println(e.getMessage()

RE: kamikaze

2009-04-28 Thread molz
Hi Micheal, Thanks for trying out Kamikaze for starters. So I guess there are a few issues here 1. getDocSetInstance(int min, max, count,DocSetFactory.FOCUS) assumes that count < max. I guess thats an API check we should add anyways to improve usability. That is not to say that it will not work