I'm not sure how you would do it as well as I do not use it and I always set the mapping using templates, never directly on code.
But if you didn't created the mapping for the geo_point then it will not work as a geo_point, the mapping needs to be created before indexing the data.
I found a way to get the mapping, and you're right the mappings are wrong.
var response = _client.Indices.GetMapping<StringResponse>(m => m.Index(HotelIndex));
var index = response.Indices.FirstOrDefault();
var mapproperties = index.Value.Mappings.Properties;
I look into a way to create the index, and see if automap solves the issues.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.