#Connecten to two indices Elasticsearch

1 messages · Page 1 of 1 (latest)

ashen trout
#

Anyone out there using ES?

I am trying to connect to two indices on elasticsearch instead of one.

The old situaties is(application.yaml):

spring:
  datasource:
    elasticsearch:
      alias: testing1
      uris:
        - http://localhost:1234

What is the correct way to add another indice to read from?

violet kiteBOT
#

<@&987246399047479336> please have a look, thanks.

violet kiteBOT
violet kiteBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If your code is long, or you have multiple files to share, consider posting it on sites like https://pastebin.com/ and share the link instead, that is easier to browse for helpers.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

flat sphinx
#

You probably have to do some manual labour to get your two datasources working

#

Do you have any repositories as well?