Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing geo position #49

Open
nacef-labidi opened this issue May 9, 2012 · 3 comments
Open

Indexing geo position #49

nacef-labidi opened this issue May 9, 2012 · 3 comments

Comments

@nacef-labidi
Copy link

Hi Felipe,

I just started using this module and it's really great. My need is to be able to index geo position of my model being indexed. Actually on the model I have two String properties "lat" and "lng".

Is indexing geo points available in the module ?

Thank you

Nacef

@feliperazeek
Copy link
Owner

No not yet, you should probably define lat and lng as a Double and override the mapping directly on ES to map them to a GetPt.

@nacef-labidi
Copy link
Author

Thank you Felipe for your quick response. Do you have a plan to include this feature ?

Also, I'm really new with ES so if you have time, it would be great if you could explain me more how to override the mapping in ES or point me to some ressources.

Thanks again

@feliperazeek
Copy link
Owner

This is how you set a mapping on ES:
http://www.elasticsearch.org/guide/reference/api/admin-indices-put-mapping.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants