lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Restrict Lucene search in concrete document ids
Date Tue, 16 Oct 2012 12:04:57 GMT
You probably want to use a Lucene Filter then use
one of the query methods that takes a filter.

Best
Erick

On Tue, Oct 16, 2012 at 4:36 AM, sxam <sxamt@yahoo.com> wrote:
> Hi,
> Prior to search I have a concrete list of Lucene Document Ids (different
> every time) and I want to limit my search only to those specific documents.
> Is there a way to do it? I don't need to check any fields or anything, I
> know the possible document ids before so if possible I wouldn't want to use
> Query.. Besides it would be a huge query (let's say I want to limit to 5,000
> documents ids, it would be 5,000 Clauses..).
>
> Any help is greatly appreciated,
>
> Maxim
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Restrict-Lucene-search-in-concrete-document-ids-tp4013905.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message