[pylucene-dev] Need to build a high-load searcher

Pete pfein at pobox.com
Fri Mar 23 15:38:16 PST 2007


On Friday March 23 2007 4:11 pm, Ofer Nave wrote:
> Does that mean I either have to:
> A) not use queryparser
> B) not use threads

No, just don't share QueryParsers among threads.

threading.local may  be helpful here.

-- 
Peter Fein   ||   773-575-0694   ||   pfein at pobox.com
http://www.pobox.com/~pfein/   ||   PGP: 0xCCF6AE6B
irc: pfein at freenode.net   ||   jabber: peter.fein at gmail.com


More information about the pylucene-dev mailing list