lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Scheffler <thomas.scheff...@uni-jena.de>
Subject Re: merged search of document
Date Wed, 07 Jan 2004 21:54:19 GMT
Am Mit, den 07.01.2004 schrieb Erik Hatcher um 22:38:
> 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.

QueryParser delivers a single Query to me. Since I have to make several
Queries how can it help me to write my own QueryParser?
How does QueryParser, Query, IndexSearcher work together?
Which class do I need to extend then?


---------------------------------------------------------------------
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