aleph.search.fragments

aleph.search.fragments.aggregate(state, q, aggs, facets)

Generate aggregations, a generalized way to do facetting.

aleph.search.fragments.authz_filter(q, authz)
aleph.search.fragments.filter_query(q, filters)

Apply a list of filters to the given query.

aleph.search.fragments.match_all()
aleph.search.fragments.multi_match(text, fields)
aleph.search.fragments.phrase_match(text, field)
aleph.search.fragments.text_query(text)

Part of a query which finds a piece of text.

aleph.search.fragments.text_query_string(text)