Performing Search across multiple Elasticsearch Indices

hello ,

If i have about 120 indices in my elastic cluster and want to get the data from each index through REST API does that mean that i need 120 API one for each index or could i get all of them through one api

Hi Muhammad Qassem,

Are you planning to use Elasticsearch directly, or via Enterprise Search?

If this is the question about direct Elasticsearch usage, I recommend asking in Elastic Stack for more detailed answer.

yes i am trying to use it directly
THANKS.

If you're asking how to perform a search across multiple indices, its possible to do. the _search API supports a target Search API | Elasticsearch Guide [8.12] | Elastic

1 Like

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