Advertisement
Guest User

elasticserach error

a guest
Dec 1st, 2014
443
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.03 KB | None | 0 0
  1. [2014-11-30 13:25:13,787][DEBUG][action.search.type       ] [Tyr] [products_production_20141130122307375][4], node[V-7QzMAKSwOE743VhcAYWA], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@5e5f293b]
  2. org.elasticsearch.search.SearchParseException: [products_production_20141130122307375][4]: query[ConstantScore(*:*)],from[0],size[15]: Parse Failure [Failed to parse source [{"query":{"match_all":{}},"size":15,"from":0,"sort":{"priority":"desc"},"filter":{"and":[{"term":{"company.id":77}},{"term":{"available_for_purchase":true}},{"term":{"category_name":"FONE DE OUVIDO"}}]}}]]
  3.     at org.elasticsearch.search.SearchService.parseSource(SearchService.java:649)
  4.     at org.elasticsearch.search.SearchService.createContext(SearchService.java:511)
  5.     at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:483)
  6.     at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:252)
  7.     at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:206)
  8.     at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:203)
  9.     at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:517)
  10.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  11.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  12.     at java.lang.Thread.run(Thread.java:744)
  13. Caused by: org.elasticsearch.search.SearchParseException: [products_production_20141130122307375][4]: query[ConstantScore(*:*)],from[0],size[15]: Parse Failure [No mapping found for [priority] in order to sort on]
  14.     at org.elasticsearch.search.sort.SortParseElement.addSortField(SortParseElement.java:198)
  15.     at org.elasticsearch.search.sort.SortParseElement.addCompoundSortField(SortParseElement.java:135)
  16.     at org.elasticsearch.search.sort.SortParseElement.parse(SortParseElement.java:90)
  17.     at org.elasticsearch.search.SearchService.parseSource(SearchService.java:633)
  18.     ... 9 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement