Search across all indices and all types


(Young Chen) #1

I'm wondering if spring-data-elasticsearch support searching across all indices and types.

What I want is like the following code:
NativeSearchQueryBuilder().withQuery(matchQuery()).withTypes("_all").withIndices("_all").build();


(system) #2

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