Thanks Mark. This question was mostly related to array format. And you are correct i had stored [lat lon] for my geo_shape, and it gives weird results. After making it [lon lat] as per GeoJson standard, it started behaving properly.
I have increased the precision to get better results. Now i am struggling with the indexing time vs accuracy problem.
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.