RavenDB - How to query words by ignoring the accent

1

I need to do a person name query by ignoring the accent.

Ex: In my document I have a record with the name "Letícia". If I consult for "leticia" the result comes empty. The behavior I need is to find the person even though the query is without the accent.

session
   .Query<PersonResult, Person_Index>()
   .Search(r => r.FullName, $"*{name}*", escapeQueryOptions: EscapeQueryOptions.AllowAllWildcards)
   .ProjectFromIndexFieldsInto<PersonResult>();
    
asked by anonymous 18.07.2017 / 19:01

0 answers