lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Numeric Range Restrictions: Queries vs Filters
Date Tue, 23 Nov 2004 20:31:56 GMT
On Nov 23, 2004, at 10:01 AM, Praveen Peddi wrote:
> Chris's RangeFilter does not cache anything where as QueryFilter does 
> caching. Is it better to add the caching funtionality to RangeFilter 
> also? or does it not make any difference?

Caching is a different _aspect_.  Filtering and caching are not related 
and should not be intimately tied, in my opinion.  The solution is to 
use the CachingWrapperFilter to wrap a RangeFilter when caching is 
desired.

	Erik


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


Mime
View raw message