[KinoSearch] Caching QueryFilter objects

Chris Nandor projects at pudge.net
Wed Oct 11 15:05:32 PDT 2006



I assume I need to cache a QueryFilter object in order to benefit from its
caching?  Or does it magically fetch a cache when I recreate the object
with the same parameters?  I am assuming not.

And can I add multiple filters somehow?  It looks like I can just add a
bunch of terms to a BooleanQuery and then pass that to QueryFilter.  And
then to cache that, I need to smartly cache that object by the several
criteria that went into creating it.  No real problem, just want to make
sure this is the Right Thing.

And of course, these filters will expire after some time anyway.  I
somewhat idly wonder how worth it it is to bother.

-- 
Chris Nandor                      pudge at pobox.com    http://pudge.net/
Open Source Technology Group       pudge at ostg.com     http://ostg.com/

_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch




More information about the kinosearch mailing list