Just Pushed: Initial Geo Support, geo_point type and geo_distance filter


(Shay Banon) #1

Hi,

Started to work on Geo support (sptial, local, have your peak, I went
with Geo). Just pushed support for geo_point mapping type (
http://github.com/elasticsearch/elasticsearch/issues#issue/278), and
geo_distance filter (
http://github.com/elasticsearch/elasticsearch/issues#issue/279).

As you can see (I hope), it falls really nicely into how elasticsearch
maps a domain model to the index, and the query DSL. Note the different
options / input formats you have to index and search, and the fact that even
without predefined mapping, search capabilities can work with certain
conventions (distance filter for now).

There are more aspects in geo support I would like to takle, namely
bounding box filter, different geo facets, geo functions that can be used in
scripts, and sorting. But this is a good start. What would you like to see?

-shay.banon


(mjarecki) #2

Absolutely fantastic!

I'd love to see a bounding box filter.

Mark

On 29/07/2010, at 4:16 AM, Shay Banon wrote:

Hi,

Started to work on Geo support (sptial, local, have your peak, I went with Geo). Just pushed support for geo_point mapping type (http://github.com/elasticsearch/elasticsearch/issues#issue/278), and geo_distance filter (http://github.com/elasticsearch/elasticsearch/issues#issue/279).

As you can see (I hope), it falls really nicely into how elasticsearch maps a domain model to the index, and the query DSL. Note the different options / input formats you have to index and search, and the fact that even without predefined mapping, search capabilities can work with certain conventions (distance filter for now).

There are more aspects in geo support I would like to takle, namely bounding box filter, different geo facets, geo functions that can be used in scripts, and sorting. But this is a good start. What would you like to see?

-shay.banon


(system) #3