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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org