I have a geo_shape filed (MULTILINE type) which was named line in my documents and I wanna do a geo_disatance query against it to find all documents which are near a location (lat/lon)
PS. The line field is a MULTILINE geo type and if the desired point is near that line (through all its length) the query must find it!
But I don't know how to query!
I have a point as an input (a lat/lon) then I need to find the nearest line (multiple lat/lon) to that point. Lines saved as MULTILINESTRING but I guess Elastic cannot query to find nearest line and just able to find nearest point. Because of it I have to use centroid point of the line which is not my desired solution and response is not what need.
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.