Failed to execute [org.elasticsearch.action.search.SearchRequest@71328a37] lastShard [true]

[2017-05-24 15:58:22,695][DEBUG][action.search.type ] [Ajax] [cms-2017-w18][2], node[Esi_VQ09S9C6Aw7n6bjsyg], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@71328a37] lastShard [true]
org.elasticsearch.search.SearchParseException: [cms-2017-w18][2]: query[+nsPath.keyword:/OpenstackTest/],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"wildcard":{"nsPath.keyword":"/OpenstackTest/"}}]}},"sort":[{"timestamp":{"order":"desc"}}],"size":50,"from":0}]]
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:747)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:572)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:544)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:306)
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.search.SearchParseException: [cms-2017-w18][2]: query[+nsPath.keyword:/OpenstackTest/],from[-1],size[-1]: Parse Failure [No mapping found for [timestamp] in order to sort on]
at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:214)
at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:188)
at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:86)
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:731)
... 9 more
[2017-05-24 15:58:22,711][DEBUG][action.search.type ] [Ajax] [cms-2017-w18][3], node[Esi_VQ09S9C6Aw7n6bjsyg], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@71328a37] lastShard [true]
org.elasticsearch.search.SearchParseException: [cms-2017-w18][3]: query[+nsPath.keyword:/OpenstackTest/
],from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"wildcard":{"nsPath.keyword":"/OpenstackTest/"}}]}},"sort":[{"timestamp":{"order":"desc"}}],"size":50,"from":0}]]
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:747)
at org.elasticsearch.search.SearchService.createContext(SearchService.java:572)
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:544)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:306)
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.search.SearchParseException: [cms-2017-w18][3]: query[+nsPath.keyword:/OpenstackTest/
],from[-1],size[-1]: Parse Failure [No mapping found for [timestamp] in order to sort on]
at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:214)
at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:188)
at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:86)
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:731)
... 9 more

Are you asking for assistance here?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.