code: def timeout(self, value):
          '''
          Specifies a timeout on the search query
          '''
          if not self.params:
              self.params = dict(timeout=value)
              return self
          self.params['timeout'] = value
          return self timeout(self, value):
          '''
          Specifies a timeout on the search query
          '''
          if not self.params:
              self.params = dict(timeout=value)
              return self
          self.params['timeout'] = value
          return self
docs: Specifies a timeout on the search query