Invoke elastic search query from Spring boot application


(Punam) #1

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" ]
}
}
}'


(Thiago Souza) #2

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?


(system) #3

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