How to change default value of term_vector for all fields of type string


(mkocikowski) #1

Hi,
is there a way to change the default value of "term_vector" (default "no")
for field type "string"? I would like ES to continue generating mappings
dynamically (I can't define my mapping in advance) but I want all the
"string" fields to be created with "term_vector" =
"with_positions_offsets".
Thank you,
Mik.

--


(system) #2