lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luke Francl <luke.fra...@stellent.com>
Subject Re: Case-sensitive search
Date Thu, 18 Aug 2005 22:18:19 GMT
On Thu, 2005-08-18 at 17:16, tareque@controldocs.com wrote:
> Thanks again! The analyzer is working now. But seems like actually the
> QueryParser I am using is probably converting the queries to lowercase
> first. Is there any way to stop that? Here is the line of code where I am
> parsing:
> 
> Query query = QueryParser.parse(line, "contents", analyzer);
> 
> As for analyzer, I have tried both StardaAnalyzer and StopAnalyzer.

You need to use the same analyzer for parsing queries as you do for
indexing content.

Luke Francl


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