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

**URL:** <https://discuss.elastic.co/t/failed-to-execute-org-elasticsearch-action-search-searchrequest-71328a37-lastshard-true/87007>\
**Category:** Elasticsearch\
**Created:** [May 24, 2017, 4:07pm UTC](https://discuss.elastic.co/t/failed-to-execute-org-elasticsearch-action-search-searchrequest-71328a37-lastshard-true/87007 "2017-05-24T16:07:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yedukondalu](https://avatars.discourse-cdn.com/v4/letter/y/ecb155/32.png) [@yedukondalu](https://discuss.elastic.co/u/yedukondalu)\
**Post date:** [May 24, 2017, 4:07pm UTC](https://discuss.elastic.co/t/failed-to-execute-org-elasticsearch-action-search-searchrequest-71328a37-lastshard-true/87007/1 "2017-05-24T16:07:33Z")

</div>

[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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 25, 2017, 9:37am UTC](https://discuss.elastic.co/t/failed-to-execute-org-elasticsearch-action-search-searchrequest-71328a37-lastshard-true/87007/2 "2017-05-25T09:37:46Z")

</div>

Are you asking for assistance here?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 22, 2017, 9:38am UTC](https://discuss.elastic.co/t/failed-to-execute-org-elasticsearch-action-search-searchrequest-71328a37-lastshard-true/87007/3 "2017-06-22T09:38:31Z")

</div>

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