aleph.index.datasets._index_updates(entities, links)

Look up existing index documents and generate an updated form.

This is necessary to make the index accumulative, i.e. if an entity or link gets indexed twice with different field values, it’ll add up the different field values into a single record. This is to avoid overwriting the document and losing field values. An alternative solution would be to implement this in Groovy on the ES.


Delete all entries from a particular dataset.

aleph.index.datasets.index_items(entities, links)

Index a set of links or entities.