how to use custom query in springboot (elasticsearch) [search method not found error]
there I am Aditya. Currently making backend for ecommerce website as personal project. While making it I came to know about elasticsearch which seems to use some AI logic and helps to do fuzzy search. So i decided to use it for my products table. but the issue in its 8.+ version they have implemented https for security of elasticsearch api and the tutorials are out of date. But after some research I found how to connect springboot to elasticsearch using ssl contexts and Now all the basic functions are working for ElasticsearchRepository but the issue arise when I try to use custom queries.