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: is Document match Query
Date Mon, 17 Dec 2018 16:25:45 GMT
I'm not sure I understand, but why not just fire the queries off with
an fq of the document ID?

If you just need to know if any of N queries match the doc, you could
check several at once with a big OR clause.

Best,
Erick
On Mon, Dec 17, 2018 at 5:06 AM Valentin Popov <valentin.po@gmail.com> wrote:
>
> Hello.
>
> I need implement a feature, that answer for a question: is a Document match a Query.
>
> Right now, I’m implemented this such way:
>
> 1. Use RadDirectory
> 2. Index Document
> 3. Search used Query
> 4. If any doc match, this is mean Document match Query.
>
> Problem with this approach, it is too slow. Any way to detect, is Document match Query
without indexing and search?
>
> Thanks!
>
>
> Regards,
> Valentin
>
>
>
>
>
> ---------------------------------------------------------------------
> 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