lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayende Rahien <aye...@ayende.com>
Subject Re: [Lucene.Net] how to make the search not case sensitive
Date Wed, 23 Feb 2011 11:17:02 GMT
https://github.com/ravendb/ravendb/blob/master/Raven.Database/Indexing/LowerCaseAnalyzer.cs

On Tue, Feb 22, 2011 at 11:13 PM, Wen Gao <samuel.gaowen@gmail.com> wrote:

> Hi,
>
> I am using lucene's standard analyser to search, however, the search result
> is case sensitive. e.g, when i search for "database", "DATABASE" could not
> return.
>
> I could store the typed items as lowercase, and store the stored data as
> lowercase as well, but in this case, the returned results would be lower
> case, instead of the original form. e.g, the returned results would be
> "database" instead of "DATABASE".
>
> Any ideas?
>
>
> Wen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message