Open klahnakoski opened 7 years ago
There are several occurrences of size:1 in meta.py . First trying to remove it just in this query , in one occurrence.
Removed another occurrence... else: result = self.default_es.post("/" + es_index + "/_search", data={ "aggs": {c.names["."]: _counting_query(c)} })
from the above block and all the unitTests in TestBasicRequests passed.
Oh well, instead of removing them, brought them back and made them to size: 0 in all instances. all the unitTests in TestBasicRequests passed. Will have to try to run all unitTests, instead of just this one category.
Ran all tests. (with size:0 in all occurrences in meta.py) 103 passed. 99 Fld. 22 not started.
meta.py
is now usingsize: 1
, but we should find the proper way to make this query when we do not want any records. Maybe, removing thesize
property completely?