I want to integrate spring boot with the aws kendra query index.I want to leverage kendra as elastic search where i make api for search query and then get results for the same via that api.
Documentations dont clearly mention the connection procedure/steps. Not sure if thats possible or not.
P.s created index and dataSource as webcrawler. Now whats the step forward.
We can follow the official AWS documentation to query an index. The tricky part is to provide the credentials while building the
KendraClientobject. The code is taken mostly from the link mentioned with the addition of creating Kendra Client.A sample code would look like as below -