elasticsearch/elasticsearch — Issue #1739: Search against indexed bounding box
Author: IanMayo
Created: 2012-02-27 09:28:45+00:00
State: open

ES indexes points, and allows a range of searches using another point, a bounding box, or a polygon.

I believe it should also do the reverse. ES should be able to store a bounding box or polygon, then allow a search using point (is it in the indexed area), a bounding-box (does it overlap with the indexed area) or polygon.

This support would allow ES to store (for example) polygons representing states. A client could then pass in a lat/lon representing a town, and ES would return the state that contains that town.