I have a situation where there are users that create n keywords. I'm storing
them as individual DB fields for aggregating scores and then building the
query from the fields. Is it faster for Lucene to parse a query of terms
that are OR'd together or to build it up as a loop of BooleanQuery marked as
SHOULD.

To complicate things, (like my previous post on explain), some keywords are
phrases. Parsing does conveniently convert multi-word keywords to phrases,
which I assume I'd have to do if I'm building up a BooleanQuery list.

Thanks!

-David-

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Query-building-performance-tp3663582p3663582.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to