curl -XGET 'http://127.0.0.1:9200/_all/_search' -d '
{
"fields" : [],
"query" : {
"field" : {
"text" : {
"boost" : "1",
"query" : "foo"
}
}
}
}
'
SearchParseException[[ia_object][4]: query[null],from[-1],size[-1]: Parse Failure [Failed to parse [{
\"fields\" : [],
\"query\" : {
\"field\" : {
\"text\" : {
\"boost\" : \"1\",
\"query\" : \"foo\"
}
}
}
}
]]]; nested: QueryParsingException[[ia_object] Failed to parse]; nested: JsonParseException[Current token (VALUE_STRING) not numeric, can not use numeric value accessors
at [Source: [B\@3256e684; line: 6, column: 24]];
Hiya
Returns: