If the original index has just lat/lon values, is it possible to create additional columns of type geo_shape and geo_point using values from lat/lon column in the elastic query itself? I am curious to know.. Thanks.
I don't believe they can be added inside a query. The mapping itself needs to change so I think the only way is to remap the index.
Create a new index.
Include new mapping for that field.
Reindex to new index.
This new index will have the correct mapping.
Thanks for confirming!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.