aggregator.search.core

add-statement

(add-statement statement)

Add a statement to the statement-index. Updates existing entities, identified by aggregate-id and entity-id, and updates them if they already existed.

create-index

(create-index index-name settings mappings)(create-index index-name)

Create an index based on the provided string. Indexes are necessary to categorize the data. Valid settings can be found here: http://elasticsearch-cheatsheet.jolicode.com/#indexes

delete-index

(delete-index index-name)

Deletes an index from elasticsearch.

delete-statement

(delete-statement statement)

Deletes a statement from the search-index.

entrypoint

(entrypoint)

Initializes the connection to the elasticsearch instance and creates indices properly. Should be executed at the start of the instance and before tests using elasticsearch.

host

init-connection!

(init-connection!)

Initializes connection to ElasticSearch.