I'd like to analyze the BusinessData index created by ElasticSearch. How can I inspect the schema of my BusinessData within the Designer or Engine?

asked 18.07.2017 at 03:28

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
1.4k102118122
accept rate: 77%

edited 18.07.2017 at 03:42

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958


you should be able to retrieve it from a running Designer or Engine via: http://localhost:19200/ivy.businessdata

mine looks like this. After storing a 'Person' with two string fields (firstname, lastname) alt text

Find the right instance

If the ElasticSearch is not responding under the default URI (http://localhost:19200), where could it be?

  • Not started: ElasticSearch could yet not be running as none of your project has yet defined any BusinessData nor run any queries against the BusinessDataRepo API. The ElasticSearch instance is only started when it is really needed - lazy.
  • Random port: ElasticSearch may runs under a different port as multiple Designers and Engines are running on the same host. You can detect running instances then by opening JVisualVM which you can find in the JDK/bin directory. Open the org.elasticsearch.bootstrap.IvyElasticsearchStarterStopper and inspect the JVM arguments. Under -Des.http.port=XXXX you will see the port where the instance is accessible. It is also possible that you find multiple instances of the IvyElasticsearchStarterStopper here... alt text
  • Fixed host+port: In a productive environment you may not like that ElasticSearch instance runs on a random port. Therefore you are free to run your own instance on a fixed port and configure it with a System Property for the Axon.ivy Engine: see http://developer.axonivy.com/releases/ivy/6.6.latest/documents/EngineGuideHtml/installation.html#installation-elasticsearch
link
This answer is marked "community wiki".

answered 18.07.2017 at 03:28

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 18.07.2017 at 03:57

It is just a simple elastic search.

You could display all indices with http://localhost:19200/_cat/indices?v

It should look like this: alt text

Now you can copy one of the indexes like this http://localhost:19200/{index}

link

answered 11.04.2018 at 04:52

Max%20Mayr's gravatar image

Max Mayr
(suspended)
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×22
×17

Asked: 18.07.2017 at 03:28

Seen: 3,229 times

Last updated: 11.04.2018 at 04:52