lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Analyzer at Query time
Date Thu, 28 Aug 2008 14:36:43 GMT
Dino Korah wrote:
> Hi All,
>  
> If I am to completely avoid the query parser and use the BooleanQuery along
> with TermQuery, RangeQuery, PrefixQuery, PhraseQuery, etc, does the search
> words still get to the Analyzer, before actually doing the real search?
>  
> Many thanks,
> Dino
>  
>
>   
Answer: no

The QueryParser applies the analyzer and builds a Query object tree 
based on the results. You will have to apply the analyzer yourself if 
your going to forgo QueryParser.

- Mark

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


Mime
View raw message