mirror of
https://github.com/d0zingcat/opensearch-orm.git
synced 2026-06-02 23:26:47 +00:00
feat: aggregations
This commit is contained in:
@@ -119,6 +119,7 @@ class ModelQuery(Expr):
|
||||
'must_not': [e.compile() for e in self.__exclude],
|
||||
'should': [e.compile() for e in self.__union],
|
||||
'filter': [e.compile() for e in self.__filter],
|
||||
'minimum_should_match': 1 if self.__union else 0,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user