Is there a way to copy the term to a field?

if copy_to "It is the field value which is copied, not the terms (which result from the analysis process)." is there a way to copy the term so that it is searchable on "_all"

Thank you

No. You can only copy the values and set up the analyzers to generate the same terms. Elasticsearch doesn't support copying the terms because:

  • Analysis is done at a later time so this wouldn't be easy the way lucene is structured
  • It wouldn't work super well anyway because searching _all typically relies on match which relies on the analyzer spitting out the right term anyway.

Maybe some other reasons I can't think of off the top of my head.

Thanks for the reply,
therefore does this means that I cannot have a '_all' search that searcher for a asciifolded field?