Re: Possible inconsistency in NearSpansOrdered and NearSpansUnordered

2010-07-29 Thread Michael McCandless
Sounds like an unwanted inconsistency to me! Can you open an issue, post a patch? Thanks, Mike On Thu, Jul 29, 2010 at 5:23 AM, Santiago M. Mola wrote: > Hi, > > I'm trying to implement a query for phrases without strict ordered and > with missing words. At the moment, I'm trying the Spans infr

Possible inconsistency in NearSpansOrdered and NearSpansUnordered

2010-07-29 Thread Santiago M. Mola
Hi, 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 NearSpansOr