Both must be "must", else it makes no sense. ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de
> -----Original Message----- > From: liat oren [mailto:oren.l...@gmail.com] > Sent: Tuesday, July 06, 2010 10:53 AM > To: java-user@lucene.apache.org > Subject: Re: Search on top x results > > Thank you! > > So the best thing to do is to add the first boolean query as a MUST, and the > second query as a should? > Even if both of them query the same fields? > Will it actually be faster? > > > On 6 July 2010 11:35, Ian Lea <ian....@gmail.com> wrote: > > > > > http://wiki.apache.org/lucene- > java/LuceneFAQ#Can_Lucene_do_a_.22search > > > _within_search.22.2C_so_that_the_second_search_is_constrained_by_the > _r > > esults_of_the_first_query.3F > > > > -- > > Ian. > > > > > > On Tue, Jul 6, 2010 at 9:25 AM, liat oren <oren.l...@gmail.com> wrote: > > > Hi all, > > > > > > Is it possible to run a search over top 100,000 (for example) > > > results of > > a > > > prior search. > > > So if the user first does the search, gets results, if pressing on > > > the search button again, I would like it to run on the top 100,000 results. > > > > > > Thanks, > > > Liat > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org