Java API - Passing a List of Query for a prepared Search


#1

Hey there!

I would like to write a function in Java to pass the index along with the desired queries.

What I had in mind was the following:

public SearchResponse fetchResultSetForIndex(String index, List<AbstractQueryBuilder<AbstractQueryBuilder>> queries) { /* Stuff to do */}

though this does not work since Eclipse reports "QB cannot be resolved to a type" and I can't figure it out right now...

Am I missing something obvious right there?

Thanks in advance for all the help!


(system) #2

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