Failed to execute [org.elasticsearch.action.search.SearchRequest@31e1eed3] lastShard [true]

[2017-12-04 14:04:48,600][DEBUG][action.search.type ] [Morgan Le Fay] [cms-2017-w41][0], node[b2Jk8MLcR9evD012hWulmg], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@5ff4c8aa] lastShard [true]
org.elasticsearch.search.SearchParseException: [cms-2017-w41][0]: query[rfcCi.ciId:499194],from[-1],size[1]: Parse Failure [Failed to parse source [{"size":1,"query":{"query_string":{"query":"499194","fields":["rfcCi.ciId"]}},"sort":[{"searchTags.responseDequeTS":{"order":"desc"}}]}]]
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.elasticsearch.search.SearchParseException: [cms-2017-w41][0]: query[rfcCi.ciId:499194],from[-1],size[1]: Parse Failure [No mapping found for [searchTags.responseDequeTS] 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-12-04 14:04:48,604][DEBUG][action.search.type ] [Morgan Le Fay] [cms-2017-w41][0], node[b2Jk8MLcR9evD012hWulmg], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@31e1eed3] lastShard [true]
org.elasticsearch.search.SearchParseException: [cms-2017-w41][0]: query[rfcCi.ciId:497958],from[-1],size[1]: Parse Failure [Failed to parse source [{"size":1,"query":{"query_string":{"query":"497958","fields":["rfcCi.ciId"]}},"sort":[{"searchTags.responseDequeTS":{"order":"desc"}}]}]]
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.elasticsearch.search.SearchParseException: [cms-2017-w41][0]: query[rfcCi.ciId:497958],from[-1],size[1]: Parse Failure [No mapping found for [searchTags.responseDequeTS] 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

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

The cause is:

No mapping found for [searchTags.responseDequeTS] in order to sort on

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