Hmm... Is there any way to express a query for a phrase-like sequence of tokens:

a b c d

but with potential "holes" (one or more terms missing):

- b c d
a - c d
a b - d
...

I've experimented with ordered(term("a"), term(b), ...), gaps and
atLeast but I can't get it to work. I could expand terms into several
queries manually but the number of potential subsets is quite large,
hence the question. Thanks for tips.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to