You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jay Yu <yu...@AI.SRI.COM> on 2007/07/10 19:30:36 UTC

RangeFilter

Hi All,
Does anyone know if the RangeFilter  is a cached filter? I could not 
tell from the api.

Thanks!

Jay

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


Re: RangeFilter

Posted by Jay Yu <yu...@AI.SRI.COM>.
Thanks for clarifying this, Chris!
I agree with you that javadocs usual should doc all they do but often 
times they skip few important things they do do.



Chris Hostetter wrote:
> : Does anyone know if the RangeFilter  is a cached filter? I could not
> : tell from the api.
> 
> Generally speaking classes only document what they do, not what they
> *don't* do ... so if the javadocs don't say anything about caching, then
> it doesn't have any caching.
> 
> more specificly, the existence of CachingWrapperFilter makes it
> unneccessary for any other filter to implement caching ... which is why
> QueryFilter has been deprecated in favor of QueryWrapperFilter.
> 
> 
> 
> 
> 
> -Hoss

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


Re: RangeFilter

Posted by Chris Hostetter <ho...@fucit.org>.
: Does anyone know if the RangeFilter  is a cached filter? I could not
: tell from the api.

Generally speaking classes only document what they do, not what they
*don't* do ... so if the javadocs don't say anything about caching, then
it doesn't have any caching.

more specificly, the existence of CachingWrapperFilter makes it
unneccessary for any other filter to implement caching ... which is why
QueryFilter has been deprecated in favor of QueryWrapperFilter.





-Hoss


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