You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm using 1.1 version of elastic search, and it result an exception if the result is empty.
the index has the location field, with correct geo_point type
i don't have a precise view of the source structure, but it seems the mapper is not found.
[2014-08-26 08:44:43,175][DEBUG][action.search.type ] [El Muerto] [keyword][1], node[lGfj6zEdTy-9f8ZClTkI9Q], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@1564f3fe] lastShard [true]
org.elasticsearch.search.SearchParseException: [keyword][1]: query[complet3:rtpjijier*],from[-1],size[5]: Parse Failure [Failed to parse source [{"size":5,"query":{"bool":{"should":{"query_string":{"query":"complet3:(rtpjijier*)"}}}},"fields":["gcd_num","gcd_nomrue","gcd_cp","depadmin","locality","locname","postcode","gcd_ville","complet"],"sort":[{"_geo_distance":{"location":[4.899999999999901,45.69989402483941],"unit":"km"}}]}]]
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:634)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:507)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:480)
at org.elasticsearch.search.SearchService.executeDfsPhase(SearchService.java:186)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteDfs(SearchServiceTransportAction.java:168)
at org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchDfsQueryThenFetchAction.java:85)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:216)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:203)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:186)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: org.elasticsearch.ElasticsearchIllegalArgumentException: failed to find mapper for [location] for geo distance based sort
at org.elasticsearch.search.sort.GeoDistanceSortParser.parse(GeoDistanceSortParser.java:120)
at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:138)
at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:80)
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:622)
... 11 more
The text was updated successfully, but these errors were encountered:
i'm using 1.1 version of elastic search, and it result an exception if the result is empty.
the index has the location field, with correct geo_point type
i don't have a precise view of the source structure, but it seems the mapper is not found.
any help is welcome.
cheers,
Patrice
Query sent :
Throws this exception:
The text was updated successfully, but these errors were encountered: