Elastic Search Installation | Elasticsearch Rest Java client HTTP and HTTPs Connection with Example

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • Elasticsearch is a search engine based on the Lucene library.
    Agenda of this elasticsearch tutorial to make you understand how to connect with ES using elasticsearch Java rest client
    After watching this video, you will be having good understanding of Following topic.
    How to Install Elasticsearch
    Elasticsearch SSL/HTTPS communication Using Postman
    ES Java truststore creation for Java connectivity
    elasticsearch java client Demo Create Index using SSL communication.
    ES Disable HTTPS and TLS Security.
    elasticsearch-java client Create Document: http Connection.
    elastic search Create New User
    java elastic search connection with java api Get Document using New User
    GitHub Link: github.com/tec...

КОМЕНТАРІ • 23

  • @ssanthoshkumar7636
    @ssanthoshkumar7636 3 місяці тому

    Thank you so much bro!!. You are a life saver :)

  • @vivek4348
    @vivek4348 Рік тому +1

    Thank you, sir. This video is undoubtedly very helpful.

  • @systechadmin8368
    @systechadmin8368 Рік тому

    Thanks from heart !!! Please make Elasticsearch shards allocation failure troubleshooting videos sir .

    • @techognite
      @techognite  Рік тому

      Hi @systechadmin8368, Thanks for the motivation and suggestion. Sure I will work on your suggestion, but it will take sometime.

  • @sushobhanmudi4394
    @sushobhanmudi4394 11 місяців тому +1

    Hi, this video helped a lot!! Can you please suggest how to close the client?

    • @techognite
      @techognite  11 місяців тому

      Hi @sushobhanmudi4394, Glad my video could help you :)
      Regarding how to close the client:
      As ElasticsearchTransport extends Transport and Transport extends Closeable
      You can call:
      ElasticsearchTransport elasticsearchTransport = // initialization code here
      elasticsearchTransport.close();
      Also, to watch such amazing content, subscribe to my channel :)

  • @neelikrishna8035
    @neelikrishna8035 Місяць тому

    But I have small doubt how it can be apply for more data

  • @himanshumathur8214
    @himanshumathur8214 6 місяців тому

    how to intilize restHighlevelClient when it is not on localhost but on aws.

  • @minpandey-yo7rx
    @minpandey-yo7rx Рік тому

    Thank you

  • @genprimabiocakti6159
    @genprimabiocakti6159 Рік тому +1

    halo sir can we use @Document for auto create index and define mappings in class with this Low level rest client configuration ?

    • @techognite
      @techognite  Рік тому

      Yes, we can use @Document with Spring

  • @ajaygupta-ol6fw
    @ajaygupta-ol6fw 11 місяців тому

    Hey can you tell how to create index with custom mapping and setting file ?

    • @techognite
      @techognite  11 місяців тому

      Check this link:
      elastic.co/guide/en/elasticsearch/client/java-rest/current/java-rest-high-create-index.html

    • @ajaygupta-ol6fw
      @ajaygupta-ol6fw 11 місяців тому

      @@techognite XContentType.JSON import missing ?

  • @ChessLover2024
    @ChessLover2024 Рік тому

    hi there, thanks for video, i'm getting the following error during compilation: 'CreateEsIndexUsingHttpss.java' :
    Exception in thread "main" java.lang.NoSuchMethodError: 'org.elasticsearch.client.RequestOptions$Builder org.elasticsearch.client.RequestOptions$Builder.removeHeader(java.lang.String)'
    The problem is the method that doesn't exist in the version of the Elasticsearch client library that I'm using, can you also provide your Elasticsearch client library version information...

  • @user-vw8ib4yb3g
    @user-vw8ib4yb3g Рік тому

    Can you tell me please how to add term query in this

  • @PrasanthGpsi
    @PrasanthGpsi Рік тому

    Waiting for update and delete query

  • @kalikali-cr8ek
    @kalikali-cr8ek Рік тому +2

    Hi @techognite,
    Kindly upload this project on github and add a link here, it will be very helpful.
    Thanks

    • @techognite
      @techognite  Рік тому +1

      Thanks for the suggestion :)
      I will do it by today EOD.

    • @kalikali-cr8ek
      @kalikali-cr8ek Рік тому

      @@techognite please share the link after adding

    • @techognite
      @techognite  Рік тому

      @@kalikali-cr8ek Sorry for being late.
      Please find the link here
      GitHub Link: github.com/techognite/elasticserach