Is the text provided to a wildcard query analyzed?

I plan to use wildcard queries on analyzed text fields using asciifolding (to get rid of french accents) and lowercase.

My first tests show e.g.
matches for "wildcard": { "ar_titre.raw": { "value": "nomme*" } } but no matches for "wildcard": { "ar_titre.raw": { "value": "nommé*" } }

Does that mean that when using wildcard (or prefix) queries, the text provided to "value" is not analyzed ? Or Is that a bug ?


Yes, the value is not analyzed (see

Matches documents that have fields matching a wildcard expression (not

Also, wildcard prefix query can be slow because it needs to iterate over many terms. Maybe can you use Ngram instead?