Lucene.Net Keyword based case insensitive query ?

Posted by Yoann. B on Stack Overflow See other posts from Stack Overflow or by Yoann. B
Published on 2010-02-19T02:07:33Z Indexed on 2010/05/15 4:04 UTC
Read the original article Hit count: 393

Filed under:
|

Hi,

I need to make a Lucene exact case insensitive keyword match query.

I tried using KeywordAnalyzer but it's case sensitive ...

Sample :

Keyword : "Windows Server 2003" => Got Results

Keyword : "windows server 2003" => No results ...

Another sample (multi keywords) :

Keywords : "ASP.NET, SQL Server" => Got results

Keywords : "asp.net, sql server" => No results

© Stack Overflow or respective owner

Related posts about c#

Related posts about lucene.net