WhitespaceAnalyzer case insensitive

46 views
Skip to first unread message

Jurca Denisa

unread,
Aug 17, 2017, 7:57:59 AM8/17/17
to RavenDB - 2nd generation document database

I`m using WhitespaceAnalyzer in order to be able to search for fields who have special characters.

The problem is that if my input is "raVEn", and in database I have "Raven", it does not work. 

Is there a way to make the WhitespaceAnalyzer case insensitive?

Thanks!

Oren Eini (Ayende Rahien)

unread,
Aug 17, 2017, 8:02:32 AM8/17/17
to ravendb
There is a lower case whitespace analyzer, IIRC

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jurca Denisa

unread,
Aug 17, 2017, 8:45:35 AM8/17/17
to RavenDB - 2nd generation document database
I found Raven.Database.Indexing.LowerCaseWhitespaceAnalyzer. 

Thanks for the answer!

On Thursday, August 17, 2017 at 3:02:32 PM UTC+3, Oren Eini wrote:
There is a lower case whitespace analyzer, IIRC

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Thu, Aug 17, 2017 at 2:57 PM, Jurca Denisa <jurca.deni...@gmail.com> wrote:

I`m using WhitespaceAnalyzer in order to be able to search for fields who have special characters.

The problem is that if my input is "raVEn", and in database I have "Raven", it does not work. 

Is there a way to make the WhitespaceAnalyzer case insensitive?

Thanks!

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages