lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: FilteredQuery bug
Date Tue, 11 May 2004 20:12:07 GMT
On May 11, 2004, at 3:48 PM, Doug Cutting wrote:
> Erik Hatcher wrote:
>> In my toying with FilteredQuery, I've found a bug.  I've added a test 
>>  case (with a commented out hacked fix) to TestFilteredQuery.
>> A Query.rewrite is needed somewhere, although I'm not sure the best  
>> place for it.  Should FilteredQuery override rewrite?  Or should it  
>> simply rewrite the nested Query in the constructor?  Or another  
>> possibility?
>
> I fixed this by adding a rewrite() method to FilteredQuery.

Thanks again!  I would have eventually tried my hand at implementing 
this myself, but wanted to wait for the collective (or Tim's) response 
before proceeding.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message