In some cases where tokens are indexed at same position. e.g. using
(synonym filter).
Queryparser Flexible API dosen't allow to create ProximityQueryNode with
distance '0'.
{code}
if (type == Type.NUMBER) {
if (distance <= 0) {
throw new QueryNodeErr
Hi,
I'm interested in the functionality supposedly implemented through
ProximityQueryNode. Currently, it seems like it is not used by the
default QueryParser or anywhere else in Lucene, right? This makes
perfectly sense since I don't see a Lucene index store any notion of
sentences,