You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by liat oren <or...@gmail.com> on 2010/07/06 10:25:59 UTC

Search on top x results

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

Re: Search on top x results

Posted by liat oren <or...@gmail.com>.
Ok, thanks, I will try that

On 6 July 2010 11:57, Uwe Schindler <uw...@thetaphi.de> wrote:

> Both must be "must", else it makes no sense.
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: liat oren [mailto:oren.liat@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 <ia...@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 <or...@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-unsubscribe@lucene.apache.org
> > > For additional commands, e-mail: java-user-help@lucene.apache.org
> > >
> > >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

RE: Search on top x results

Posted by Uwe Schindler <uw...@thetaphi.de>.
Both must be "must", else it makes no sense.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: liat oren [mailto:oren.liat@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 <ia...@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 <or...@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-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Re: Search on top x results

Posted by liat oren <or...@gmail.com>.
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 <ia...@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_results_of_the_first_query.3F
>
> --
> Ian.
>
>
> On Tue, Jul 6, 2010 at 9:25 AM, liat oren <or...@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Re: Search on top x results

Posted by Ian Lea <ia...@gmail.com>.
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_results_of_the_first_query.3F

--
Ian.


On Tue, Jul 6, 2010 at 9:25 AM, liat oren <or...@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org