Index and find emails using pre- and postfix wildcards

Hi all,

I'm looking for an easy way to index documents containing an email field
and searching for them using pre- and postfix wildcard queries (something
similar to SQL: WHERE email LIKE '%search_term%').

One way may be using the uax_url_email tokenizer but it seems that in this
case prefix wildcards aren't supported. Is that true?

As an alternative I thought of using a not_analyzed field to store the
email adress and query them with a something like an ignorecase flag...?



You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit