Created
July 10, 2013 13:55
-
-
Save damienalexandre/5966477 to your computer and use it in GitHub Desktop.
Example of error from ES.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2013-07-10 14:32:29,599][DEBUG][action.search.type ] [Kehl of Tauran] [catalog_withuserdatas][0], node[FILbNMh3SDq4de9z3c9Zog], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@52bad42c] | |
org.elasticsearch.search.SearchParseException: [catalog_withuserdatas][0]: query[ConstantScore(cache(terms(id:catalog_withuserdatas/playlist/1/tracks.id)))],from[-1],size[-1],sort[<custom:"name": org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource@64f600fc>]: Parse Failure [Failed to parse source [ | |
{ | |
"query" : { | |
"filtered" : { | |
"query" : { | |
"query_string" : { "query" : "*" } | |
}, | |
"filter" : { | |
"terms" : { | |
"id" : { | |
"index" : "catalog_withuserdatas", | |
"type" : "playlist", | |
"id" : "1", | |
"path" : "tracks.id" | |
} | |
} | |
} | |
} | |
}, | |
"sort" : [ | |
{ "name" : {"order" : "asc"} } | |
], | |
}]] | |
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:573) | |
at org.elasticsearch.search.SearchService.createContext(SearchService.java:484) | |
at org.elasticsearch.search.SearchService.createContext(SearchService.java:469) | |
at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:462) | |
at org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:306) | |
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:243) | |
at org.elasticsearch.action.search.type.TransportSearchQueryAndFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryAndFetchAction.java:75) | |
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:206) | |
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:193) | |
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:179) | |
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.common.jackson.core.JsonParseException: Unexpected character ('}' (code 125)): was expecting either valid name character (for unquoted name) or double-quote (for quoted) to start field name | |
at [Source: [B@10e23f40; line: 23, column: 2] | |
at org.elasticsearch.common.jackson.core.JsonParser._constructError(JsonParser.java:1369) | |
at org.elasticsearch.common.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:599) | |
at org.elasticsearch.common.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:520) | |
at org.elasticsearch.common.jackson.core.json.UTF8StreamJsonParser._handleUnusualFieldName(UTF8StreamJsonParser.java:1725) | |
at org.elasticsearch.common.jackson.core.json.UTF8StreamJsonParser._parseFieldName(UTF8StreamJsonParser.java:1406) | |
at org.elasticsearch.common.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:668) | |
at org.elasticsearch.common.xcontent.json.JsonXContentParser.nextToken(JsonXContentParser.java:50) | |
at org.elasticsearch.search.SearchService.parseSource(SearchService.java:553) | |
... 12 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment