aleph.index.util

aleph.index.util.bulk_op(iter)

Standard parameters for bulk operations.

aleph.index.util.index_form(texts)

Turn a set of strings into the appropriate form for indexing.

aleph.index.util.index_names(data)

Handle entity names on documents and entities.

aleph.index.util.query_delete(index, query)

Delete all documents matching the given query inside the index.

aleph.index.util.unpack_result(res)

Turn a document hit from ES into a more traditional JSON object.