lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane James Vaucher <vauch...@cirano.qc.ca>
Subject Re: Is RangeQuery more efficient than DateFilter?
Date Mon, 29 Mar 2004 22:09:06 GMT
I've added some information contained on this thread on the wiki.

http://wiki.apache.org/jakarta-lucene/DateRangeQueries

If you wish to add more information, go right ahead, but since I added
this info, I believe it's ultimately my responsibility to maintain it.

sv

On Mon, 29 Mar 2004, Kevin A. Burton wrote:

> Erik Hatcher wrote:
>
> >
> > One more point... caching is done by the IndexReader used for the
> > search, so you will need to keep that instance (i.e. the
> > IndexSearcher) around to benefit from the caching.
> >
> Great... Damn... looked at the source of CachingWrapperFilter and it
> makes sense.  Thanks for the pointer.  The results were pretty amazing.
> Here are the results before and after. Times are in millis:
>
> Before caching the Field:
>
> Searching for Jakarta:
> 2238
> 1910
> 1899
> 1901
> 1904
> 1906
>
> After caching the field:
> 2253
> 10
> 6
> 8
> 6
> 6
>
> That's a HUGE difference :)
>
> I'm very happy :)
>
>


---------------------------------------------------------------------
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