aleph.search.documents

aleph.search.documents.documents_iter(state)

Iterate over a set of documents based on a query state.

aleph.search.documents.documents_query(state)

Parse a user query string, compose and execute a query.

aleph.search.documents.entity_documents(entity, state)

Try and find all documents mentioning a particular entity.

aleph.search.documents.facet_collections(state, q, aggs)
aleph.search.documents.facet_entities(state, aggs)

Filter entities, facet for collections.