Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
a query is the object manipulated by the indexer
the query parser'll call add_word and add_phrase on this object accoring to
the query string (see query.g for the query string's grammar)

src/i/n/indexer-0.6.2/default_indexer.py   indexer(Download)
from indexer.query import IndexerQuery, IndexerQueryScanner
from indexer.query_objects import Query, tokenize
from indexer._exceptions import StopWord
    def execute(self, query_string, cursor=None):
        """execute a full text query and return a list of 2-uple (rating, uid)
        query = Query(normalize)
        parser = IndexerQuery(IndexerQueryScanner(REM_PUNC.sub(' ', query_string)))