You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Haberl Norbert <No...@ssi-schaefer.com> on 2018/10/30 08:19:50 UTC
Lucene equivalent to SQL IN clause on _ids
Hello,
Is there a way to tell Lucene that it only needs to search within a given range of documents (which are determined in advance by another query)
Something like WHERE _id IN (1, 3, 5, 7, ...) and so on.
Actually what I wanted to know what ist he best performing way of doing it?
- Custom filter
- Boolean query
- ???
I was thinking that there is some special way for limiting docIds maybe
Thanks Norbert