Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/f/s/fSphinx-HEAD/fsphinx/facets.py   fSphinx(Download)
 
import utils
from hits import DBFetch
from hits import DB
 
 
        # fetch the facet terms from the db
        db_fetch = DBFetch(db, self._sql_query, getter=lambda x: x['attrs']['@groupby'])
        hits = db_fetch.Fetch(sphinx_results)