I want to create a web page that search data.
Should I use JAVA API to request data with elasticsearch? Or is it better to do it with REST?
The JAVA API has the advantage of better performance, but it does not matter so much, and it is a non-performance project.
how do you think about it??