Could i assign field properties when index?

I have some special field such as geo_point , could i assign field properties when index, i do not want to create mapping before index

Use an index template in that case.
When the index will be created by the first index document API call, the mapping you defined in the index template will be used.

Thank u , i will try

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