code: def validate_query(self, using=None, **kwargs):
          
          return self._get_connection(using).indices.validate_query(index=self._name, **kwargs)
docs: Validate a potentially expensive query without executing it.
  
          Any additional keyword arguments will be passed to
          ``Elasticsearch.indices.validate_query`` unchanged.