Hi! I've been having problems with lucene's QueryParser, apparently it is not
thread-safe.
That means I can't parse queries in threads where the queryparser object is
created once and reused for each query. If I do, the resulting queries may have
all kinds of weird problems, for example missin
Thanks for all the answers!
Now, while I agree that simple is better, I think QueryParser should
be made thread-safe through the use of a wrapper class (along the
line of what Luc suggested) or by using something other than javacc,
so this is no longer an issue in future lucene versions.
I ca