code: def search(self, value, createIndex=None):
          ''' Full-text support, make sure that text index already exist on collection. Raise IndexNotFound if text index not exist.
              
              **Examples**: ``query.search('pecel lele', createIndex=['FullName', 'Username'])``
          '''
          if createIndex:
              self._createIndex = createIndex
  
          self._search = True
          self.filter(QueryExpression({'$text' : {'$search': value}}))
          return self search(self, value, createIndex=None):
          ''' Full-text support, make sure that text index already exist on collection. Raise IndexNotFound if text index not exist.
              
              **Examples**: ``query.search('pecel lele', createIndex=['FullName', 'Username'])``
          '''
          if createIndex:
              self._createIndex = createIndex
  
          self._search = True
          self.filter(QueryExpression({'$text' : {'$search': value}}))
          return self
docs: Full-text support, make sure that text index already exist on collection. Raise IndexNotFound if text index not exist.
              
              **Examples**: ``query.search('pecel lele', createIndex=['FullName', 'Username'])``