lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Case-sensitive search
Date Thu, 18 Aug 2005 22:22:58 GMT
> On Thu, 2005-08-18 at 17:16, 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

Actually I have used StopAn for indexing. So used the same for parsing
queries, but it's still converting the queries to lowercase before running
the actually search

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

View raw message