I am trying to store multiple circles as part of one document to be used inside an Indexed Shape query. Can someone point me to the right documentation for how to create as many as 100 circle as part of one document. The documentation shows how to do this for one polygon:
The use-case involves checking whether a lat,long co-ordinate is with-in 10 meters of any 100 service locations of a type. For example a bank has 100 ATM's in a city and given a lat,long co-ordinate I want to find out whether that co-ordinate is near any of the 100 ATMs.
Am I headed in the right direction, can this problem be solved by creating one document with 100 circles, and then using this document as part of an indexed shape query?
Would I be able to use Indexed Shape Query if all locations are stored as their own document? I was under the impression that for Indexed Shape queries to work, the shape has to be stored in one document...
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.