Actually I would guess that performence should be fine. I would look at the code generated by the standard analyzer, http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/analysis/standard/package-summary.html which translates from "(a AND b) OR c" to "+a +b c" and then see what it does with it.
On Wed, Jan 07, 2004 at 10:11:10PM +0100, Thomas Scheffler wrote: > Am Mit, den 07.01.2004 schrieb Dror Matalon um 21:57: > > I can see the problem, but I'm not sure it's something Lucene should > > provide. I guess you can try to do some post processing of Lucene > > results. For AND and OR operations it should be quite easy. If you get > > any hits for a page in a book, the whole book has the terms. The hard > > part will be handling "NOT" operations. Seems like you'd have to > > actually do a '+' search for the term and then rule out all the books > > that do contain the term. Yuck. > > That sounds quite good to me, hope it performs not as bad. > How can I make of a query (foo OR bar AND foobar AND -"foo bar") - I > hope I got al important cases - a bunch of queries. What would you > suggest? > -- Dror Matalon Zapatec Inc 1700 MLK Way Berkeley, CA 94709 http://www.fastbuzz.com http://www.zapatec.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
