Skip to content

Instantly share code, notes, and snippets.

@medcl medcl/gist:1527410
Created Dec 28, 2011

Embed
What would you like to do?
Method:POST,Status:INTERNAL_SERVER_ERROR,Url:127.0.0.1:9500/index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4/type/_search,
ReqData
{
"from": 0,
"size": 5,
"query": {
"constant_score": {
"filter": {
"bool": {
"must": [
{
"numeric_range": {
"age": {
"from": "22",
"to": "25",
"include_lower": true,
"include_upper": true
}
},
"_cache": false
}
]
}
},
"boost": 1
}
},
"explain": false
}
,Response:
{"error":"SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[Nqi7PeirRBiGPKgsDxFT3w][index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][3]: SearchParseException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][3]: from[0],size[5]: Parse Failure [Failed to parse source [{\"from\": 0,\"size\": 5,\"query\":{\"constant_score\":{\"filter\":{\"bool\":{\"must\":[{\"numeric_range\":{\"age\":{\"from\":\"22\",\"to\":\"25\",\"include_lower\":true,\"include_upper\":true}},\"_cache\": false}]}},\"boost\": 1}},\"explain\": false}]]]; nested: QueryParsingException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4] No filter registered for [must]]; }{[Nqi7PeirRBiGPKgsDxFT3w][index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][4]: SearchParseException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][4]: from[0],size[5]: Parse Failure [Failed to parse source [{\"from\": 0,\"size\": 5,\"query\":{\"constant_score\":{\"filter\":{\"bool\":{\"must\":[{\"numeric_range\":{\"age\":{\"from\":\"22\",\"to\":\"25\",\"include_lower\":true,\"include_upper\":true}},\"_cache\": false}]}},\"boost\": 1}},\"explain\": false}]]]; nested: QueryParsingException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4] No filter registered for [must]]; }{[Nqi7PeirRBiGPKgsDxFT3w][index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][0]: SearchParseException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][0]: from[0],size[5]: Parse Failure [Failed to parse source [{\"from\": 0,\"size\": 5,\"query\":{\"constant_score\":{\"filter\":{\"bool\":{\"must\":[{\"numeric_range\":{\"age\":{\"from\":\"22\",\"to\":\"25\",\"include_lower\":true,\"include_upper\":true}},\"_cache\": false}]}},\"boost\": 1}},\"explain\": false}]]]; nested: QueryParsingException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4] No filter registered for [must]]; }{[Nqi7PeirRBiGPKgsDxFT3w][index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][2]: SearchParseException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4][2]: from[0],size[5]: Parse Failure [Failed to parse source [{\"from\": 0,\"size\": 5,\"query\":{\"constant_score\":{\"filter\":{\"bool\":{\"must\":[{\"numeric_range\":{\"age\":{\"from\":\"22\",\"to\":\"25\",\"include_lower\":true,\"include_upper\":true}},\"_cache\": false}]}},\"boost\": 1}},\"explain\": false}]]]; nested: QueryParsingException[[index_search_operatec758499e-36f5-41a0-b72d-a9f440571ed4] No filter registered for [must]]; }]","status":500}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.