lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: merged search of document
Date Wed, 07 Jan 2004 21:38:20 GMT
On Jan 7, 2004, at 4:18 PM, Dror Matalon wrote:
> 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.

Huh?  StandardAnalyzer does not do that type of translation.   
QueryParser is what parses "(a AND b) OR c" into a nested BooleanQuery.

Query.toString is what will visually turn it into the +/- view.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message