Hi folks- Is anyone familiar with MultiRangeQuery (found in o.a.l.sandbox.search)? I was playing around with it recently since it might be a good fit for a use-case I'm working on for Amazon's Product Search engine, but it looks like it has a pretty fundamental bug in how it works. That or I'm completely mis-understanding what the query is meant to do.
My understanding is that this query should consider documents to be a match if they contain a point that is found in _any_ of the ranges represented by this query (i.e., it's a disjunction over a set of query ranges). But... it appears that the query incorrectly considers a document to be a match if its point matches on any single dimension of any range (where it should be requiring all dimensions in a particular range to match). I added a unit test to demonstrate this bug along with a proposed fix over here: https://github.com/apache/lucene/pull/437 If anyone is familiar with this query (or better yet, uses it), I'd be really interested in your input. Cheers, -Greg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
