Elasticsearch

Axon Ivy Engine is using Elasticsearch for full-text searches in business data. Elasticsearch itself is bundled with Axon Ivy Engine and will be started on demand.


digraph overview { layout=neato; node [shape=box, height="0.8", width="2", color="#007095", style=filled, fixedsize="true", margin=0, fontname="Roboto,Helvetica Neue,Arial,sans-serif", fontcolor="white", fontsize=15 ]; /* nodes */ engine [label="Axon Ivy\nEngine", pos="0.0,2.5!", height="0.8", width="1.5", color="#C7D426", fontcolor="black"]; elasticsearch [ label="Elasticsearch", pos="3.0,2.5!", height="0.8", width="1.5",] /* edges */ engine -> elasticsearch; /* edge labels */ engine_elasticsearch [label="HTTP\n \nHTTPS", pos="1.5,2.5!", shape=none, fillcolor=none, fontsize="11"]; }


For systems with high load, you may run an external Elasticsearch server or cluster. To do so, download and install Elasticsearch according to the docs of Elasticsearch.

Note: Only use the Elasticseach release delivered with your Axon Ivy Engine as there have been several breaking changes in Elasticsearch releases.

Now you need to tell the Axon Ivy Engine in ivy.yaml that an external Elasticsearch server has to be used:

 1# External Elasticsearch Server
 2# [engineDir]/configuration/ivy.yaml 
 3Elasticsearch:
 4  ExternalServer:
 5    # URL to the external elasticsearch server
 6    Url: "http://my-elasticsearch-server"
 7
 8    # Name and Password if Elasticsearch server is protected
 9    #UserName: "admin"    
10    #Password: "1234"