What does your code look like? If you are using Hits, what does hits.length() give you?
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Hasan Diwan <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Friday, May 16, 2008 1:48:56 AM > Subject: Re: All results > > On 15/05/2008, Otis Gospodnetic wrote: > > You can get all matches via Hits if you want, it's just that Lucene will > > need > to do some re-querying under the hood. Why don't you use the search(....) > method that takes HitCollector to get all docs - I thought that's what you > were > trying to use in the first place. > > I'm missing something elementary here. My query, done in luke[1] > produces 4 documents for the term "book". But, submitted via my code, > produces only 3. The one seems to be eliminated because the scores are > the same. However, it's a different document. How do I get lucene to > reflect this? > > -- > Cheers, > Hasan Diwan > 1. http://luke.getopt.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]