With a text field, if I do a doc['my_text_field'] it shows analyzed tokens. As a result, the regex and wildcard queries can not be formulated in a resonable way...
Although, the text is available when doing adding a scripted field via params._source.my_text_field in its original form.
How do I get the unanalyed text like params._source.my_text_field for a normal elasticsearch query?