lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dror Matalon <>
Subject Re: merged search of document
Date Wed, 07 Jan 2004 21:18:20 GMT
Actually I would guess that performence should be fine. I would look at
the code generated by the standard analyzer,
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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message