elasticsearch error [match_all] query malformed, no start_object after query name

using stdClass will fix this problem

$data['query']['function_score']['query']['match_all'] = new stdClass();

Related posts:

This entry was posted in ไม่มีหมวดหมู่. Bookmark the permalink.