elasticsearch/elasticsearch — Issue #1638: Illegal latitude value
Author: briansea
Created: 2012-01-25 04:04:03+00:00
State: open

I might be missing something, but elasitcsearch is complaining about lats/lons that seem to be valid. Here is the source I'm using: http://api.simplegeo.com/1.0/features/SG_7JerIlcgwkzWJ4AWU5MxFa_61.123799_-149.875612@1293731153.json from SimpleGeo

And below is the error. What should I do? Thanks! Brian

[2012-01-25 04:00:35,763][DEBUG][action.search.type ] [Golem] [mynyte_places][3], node[u9g1OBEiRdqoY3MrofUCzA], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@33b06b78]
org.elasticsearch.search.query.QueryPhaseExecutionException: [mynyte_places][3]: query[_all:food],from[0],size[50],sort[]: Query Failed [Failed to execute main query]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:221)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:234)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:134)
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:204)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:191)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:177)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: java.lang.IllegalArgumentException: Illegal latitude value -149.857789
at org.elasticsearch.index.search.geo.LatLng.(LatLng.java:35)
at org.elasticsearch.index.search.geo.GeoDistance$2.calculate(GeoDistance.java:51)
at org.elasticsearch.index.search.geo.GeoDistanceFilter$GeoDistanceDocSet.get(GeoDistanceFilter.java:154)
at org.elasticsearch.common.lucene.search.FilteredCollector.collect(FilteredCollector.java:52)
at org.elasticsearch.common.lucene.MultiCollector.collect(MultiCollector.java:55)
at org.apache.lucene.search.Scorer.score(Scorer.java:90)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:526)
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:198)
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:153)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:433)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:356)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:215)
... 9 more