lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santiago M. Mola" <>
Subject Possible inconsistency in NearSpansOrdered and NearSpansUnordered
Date Thu, 29 Jul 2010 09:23:22 GMT

I'm trying to implement a query for phrases without strict ordered and
with missing words. At the moment, I'm trying the Spans infrastructure
and this problem just arised.

NearSpansOrdered's constructor will throw an IllegalArgumentException
if less than 2 clauses are given, while NearSpansOrdered won't. Is
this done on purpose or it's an unwanted inconsistency?

Best regards,
Santiago M. Mola
Jabber ID:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message