Reproduce instantsearch on Java backend


I would like to know if there is a way to reproduce an instant search I am doing on a Vue.js, in a Java backend.

I need to do this to get the object ids retrieved in the search in the Java backend.

Thank you!