lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <luc...@nitwit.de>
Subject Caching FuzzyQuery
Date Tue, 11 Dec 2007 12:27:59 GMT
Hi!

Actually FuzzyQuery.rewrite() is pretty expensive so why not introduce a 
caching decorator? A WeakHashMap with key==IndexReader and value==LRU of 
BooleanQueries.

Timo

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


Mime
View raw message