Skip to content

Instantly share code, notes, and snippets.

@medcl
Created December 28, 2011 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save medcl/1527410 to your computer and use it in GitHub Desktop.
Save medcl/1527410 to your computer and use it in GitHub Desktop.
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