Exemplo n.º 1
0
class BookCatalogFactory(object):
    """
    The catalog factory will be called at initialization time and will create
    a catalog index for each book field, as defined in [[resources.py]]. We do
    not add an ``isbn`` field, because that's the book's id and it's handled by
    the system catalog.
    """
    title = Text()
    author = Field()
    publisher = Field()
    year = Field()
Exemplo n.º 2
0
class CreationCuturelleIndexes(object):

    object_keywords = Keyword()
    object_sites = Keyword()
    object_authors = Keyword()
    created_at = Field()
    modified_at = Field()
    release_date = Field()
    object_zipcode = Keyword()
    object_zipcode_txt = TextWithoutScore()
    object_country = Keyword()
    object_venue = Keyword()
    is_director = Field()
    object_artists = Keyword()
    object_id = Field()
    object_title = Field()
    object_source_site = Field()
    object_access_control = Keyword()
    start_date = DateRecurring()
    end_date = DateRecurring()
    publication_start_date = DateRecurring()
    publication_end_date = DateRecurring()
    access_keys = Keyword()
    relevant_data = Text(
        lexicon=Lexicon(Splitter(), CaseNormalizer(), StopWordRemover()))
    related_contents = Keyword()
    subscription_kind = Keyword()
    alert_keys = Keyword()
Exemplo n.º 3
0
class DaceIndexes(object):

    object_provides = Keyword()
    object_type = Field()
    object_type_class = Field()
    object_title = Text()
    object_states = Keyword()
    object_description = Text()
    container_oid = Field()
    containers_oids = Keyword()
    oid = Field()
    process_id = Field()
    process_discriminator = Field()
    node_id = Field()
    process_inst_uid = Keyword()
    context_id = Keyword()
    context_provides = Keyword()
    isautomatic = Field()
    issystem = Field()
    potential_contexts_ids = Keyword()
Exemplo n.º 4
0
class Indexes(object):
    title = Field()
    created = Field()
    modified = Field()
Exemplo n.º 5
0
class S1CatalogIndexes(AdhocracyCatalogIndexes):
    """S1 indexes for the adhocracy catalog."""

    decision_date = Field()
    """Date when the decision was made which agenda s1 proposals
Exemplo n.º 6
0
class NovaideoIndexes(object):

    object_keywords = Keyword()
    object_authors = Keyword()
    organizations = Keyword()
    created_at = Field()
    modified_at = Field()
    published_at = Field()
    examined_at = Field()
    published_at_str = Field()
    examined_at_str = Field()
    published_at_month_str = Field()
    examined_at_month_str = Field()
    published_at_year_str = Field()
    examined_at_year_str = Field()
    release_date = Field()
    is_workable = Field()
    favorites = Keyword()
    related_contents = Keyword()
    last_connection = Field()
    publication_start_date = DateRecurring()
    publication_end_date = DateRecurring()
    object_id = Field()
    object_title = Field()
    object_access_control = Keyword()
    access_keys = Keyword()
    relevant_data = Text(
        lexicon=Lexicon(Splitter(), CaseNormalizer(), StopWordRemover()))
    has_related_contents = Field()
    has_file = Field()
    identifier = Keyword()
    is_pinned = Field()
    is_edited = Field()
    alert_keys = Keyword()
    alert_exclude_keys = Keyword()
    support = Field()
    oppose = Field()
    support_diff = Field()
    challenges = Keyword()
    api_token = Field()
Exemplo n.º 7
0
 class Factory(object):
     index = Field()
Exemplo n.º 8
0
class BlogCatalogFactory(object):
    pubdate = Field()
Exemplo n.º 9
0
class NavelCatalogFactory(object):
    pub_date = Field()