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

Error with geo_code with Elasticsearch version 1.3.1 #114

Closed
itamarwe opened this issue Aug 16, 2014 · 1 comment
Closed

Error with geo_code with Elasticsearch version 1.3.1 #114

itamarwe opened this issue Aug 16, 2014 · 1 comment

Comments

@itamarwe
Copy link

Hi All,
I'm getting this error when I index my models with the new version 1.3.1. Any ideas why?

{ error: 'RemoteTransportException[...][index]]; nested: MapperParsingException[failed to parse]; nested: ElasticsearchParseException[field must be either \'lat\', \'lon\' or \'geohash\']; '

My mapping looks like this:

        location:
          geo_point:
            type       : String
            es_type    : 'geo_point'
            es_lat_lon : true
          lat :
            type: Number
          lon :
            type: Number
@taterbase
Copy link
Owner

This issue has been moved to mongoosastic#9

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