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
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'])``