Closed MasterMind2k closed 9 years ago
Replaced 'filters' with 'queries' inside _serialize, parent class ConstantScoreQuery adds queries into 'queries' not 'filters'.
Without this commit, the (probably) ordinary query:
q = TopChildrenQuery('my_type') q.add(MatchAllQuery())
throws QueryParsingException[[****] [_na] query malformed, no field after start_object];
Replaced 'filters' with 'queries' inside _serialize, parent class ConstantScoreQuery adds queries into 'queries' not 'filters'.
Without this commit, the (probably) ordinary query:
q = TopChildrenQuery('my_type') q.add(MatchAllQuery())
throws QueryParsingException[[****] [_na] query malformed, no field after start_object];