Comments on: Elasticsearch with Spring Boot https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/ Java, Spring, Kotlin, microservices, Kubernetes, containers Tue, 12 Oct 2021 15:03:19 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-1258 Tue, 12 Oct 2021 15:03:19 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-1258 In reply to FolksIT.

Thanks 🙂

]]>
By: FolksIT https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-1255 Tue, 05 Oct 2021 20:37:43 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-1255 Nice Article! Good Explanation about Spring Boot. I have learned more information from your blog.

]]>
By: Piotr MiƄkowski https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-657 Wed, 08 Jul 2020 09:04:21 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-657 In reply to Najib Ghlissi.

Hi,
No, it is example dedicated for integration with Elasticsearch. To integrate it with any relational database you need to use different Spring Data library anmd annotations.

]]>
By: Najib Ghlissi https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-656 Thu, 02 Jul 2020 23:02:51 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-656 hi,
tk u for this explication
can i use this code to configure my application with Postresql or Mysql ??
same config ??

]]>
By: Piotr MiƄkowski https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-655 Sun, 26 Apr 2020 16:26:02 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-655 In reply to no name.

Thanks 🙂

]]>
By: no name https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-654 Sat, 25 Apr 2020 14:52:35 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-654 best tutorial (better than some popular sites!)

]]>
By: Piotr MiƄkowski https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-652 Tue, 28 Jan 2020 08:22:21 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-652 In reply to rosa.

Thanks 🙂 Yes it can also be compiled with java 8. You can test it in many different ways. Testcontainers just starting the instance of Elasticsearch within a test. You may use for example existing intsance of your elasticsearch instead of containerized.

]]>
By: rosa https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-651 Tue, 28 Jan 2020 03:52:50 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-651 Thanks for the great post!
I have two questions:
1. is it working with java 1.8?
2. How to test without using Junit or org.testcontainers – just use restful http call?

Thanks a lot!
rosa

]]>
By: amarsha https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-649 Wed, 18 Dec 2019 15:08:35 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-649 My remote elastic search is running in http://100.84.57.2:9200/ (I was able to access if i put this url in browser) but from my code in spring boot I have added
spring:
data:
elasticsearch:
cluster-name: es_psc
cluster-nodes: 100.84.57.2:9300

in application.yml
but still I am not able to run getting below error
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: [{#transport#-1}{6SiLGoTHTmmiuzBTvweb3A}{100.84.57.2}{100.84.57.2:9300}

]]>
By: Piotr MiƄkowski https://piotrminkowski.com/2019/03/29/elasticsearch-with-spring-boot/#comment-650 Wed, 18 Dec 2019 14:17:43 +0000 https://piotrminkowski.wordpress.com/?p=7061#comment-650 In reply to amarsha.

But you are trying to connect on port 9300. Is it exposed on your remote Elasticsearch?

]]>