Make _all's analyzer to not_analyzed


I'm trying to run a regexp query on the _all field, this query is failing because _all is analyzed.
Is there a way to make the _all field not analyzed?


(David Pilato) #2

Use copy_to feature instead and copy the content you want to whatever field.
This field can be non analyzed or a keyword.


Hey David, thanks for the quick reply

I cant quite figure out how to use the copy_to feature because I intend to copy a field of nested type to the new field..
Any suggestions?

(David Pilato) #4

An example of what you tried?

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.