(self)
return self._total_elastic_size
Property that returns the expected size of the search query.
Property that returns the expected size of the search query.
Property that returns the expected size of the search query .
def expected_size(self):
        """Property that returns the expected size of the search query."""
        if self._total_elastic_size:
            return self._total_elastic_size

        self._execute_query(count=True)
        return self._total_elastic_size
def expected_size ( self ) : if self . _total_elastic_size : return self . _total_elastic_size self . _execute_query ( count = True ) return self . _total_elastic_size