Did I find the right examples for you? yes no

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

src/c/r/crate.web-HEAD/crate/web/packages/search_indexes.py   crate.web(Download)
 
from crate.web.packages.models import Package
from crate.web.search.indexes import PackageCelerySearchIndex
 
LICENSES = {
class PackageIndex(PackageCelerySearchIndex, indexes.Indexable):
    text = indexes.CharField(document=True, use_template=True)
    name = indexes.CharField(model_attr="name", boost=1.5)
    display_name = indexes.CharField(model_attr="name", indexed=False)
    summary = indexes.CharField(null=True)