RE: Antw.: Search returning documents matching a NOT range

2010-11-08 Thread Uwe Schindler
e.org > Subject: Re: Antw.: Search returning documents matching a NOT range > > I think it might be an edge case around TermRangeQuery and MultiTermQuery > and rewrite methods. It only seems to happen when part of the query is a > TermRangeQuery and I can make the problem go away wit

RE: Antw.: Search returning documents matching a NOT range

2010-11-08 Thread David Fertig
, 2010 10:13 AM To: java-user@lucene.apache.org Subject: Re: Antw.: Search returning documents matching a NOT range I think it might be an edge case around TermRangeQuery and MultiTermQuery and rewrite methods. It only seems to happen when part of the query is a TermRangeQuery and I can make the

Re: Antw.: Search returning documents matching a NOT range

2010-11-08 Thread Ian Lea
I think it might be an edge case around TermRangeQuery and MultiTermQuery and rewrite methods. It only seems to happen when part of the query is a TermRangeQuery and I can make the problem go away with a call to setRewriteMethod(MultiTermQuery.xxx). Where xxx is CONSTANT_SCORE_BOOLEAN_QUERY_REWR

Re: Antw.: Search returning documents matching a NOT range

2010-11-08 Thread Ian Lea
It occurs in David's index and in my much simplifed test/demo index. There is nothing special in mine so I'd guess the problem isn't really index or data related, but certainly can't vouch for that. -- Ian. On Mon, Nov 8, 2010 at 12:05 PM, Uwe Schindler wrote: > That's extremely strange. If th