lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Re[2]: improve performance of "AND-queries"
Date Thu, 23 Oct 2003 12:22:45 GMT

On Thursday, October 23, 2003, at 06:15  AM, Daniel Penning wrote:
> EH> Do you have some performance numbers to go with this?
>
> +_key:23/*              -> 801 hits  80-90 ms
> +24:8397                -> 10 hits   <10 ms
> +24:8397 +_key:23/*     -> 5 hits    80-90 ms
>
> Info: The index size is 118kb.

Thanks for the numbers.

> The execution time when using a QueryFilter is nearly the same (~10ms
> faster).

Keep in mind that QueryFilter will only be faster on successive uses of 
it (the same instance, that is) as it caches the bitset of matching 
documents, so successive calls only search the matched ones from the 
first time around.

	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