Invoke elastic search query from Spring boot application

Hi , I am having difficulty invoking elastic search from my spring boot application. I want to invoke the below query from my java spring boot application.

GET "http://localhost:9200/somedata/someaddress/_search" -H 'Content-Type: application/json' -d'
{

"query": {
"multi_match" : {
"query": "80 Church streed road SK4",
"fields": [ "postTown", "postcode" , "buildingNumber" , "thoroughfare" ]
}
}
}'

You need to give a little bit more of context so we can help you. What client library are you using to access elasticsearch, if any? What is the difficulty that you are having? Is there an error?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.