aggregator.search.core
add-link
(add-link link)
Add a link to the link-index. Updates existing entities, identified by aggregate-id and entity-id, and updates them if they already existed.
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-link
(delete-link link)
Deletes a link 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.
search
multimethod
Multimethod to dispatch the different search types. Currently defaults to the fulltext-search.