search

suspend fun search(index: ElasticsearchIndex, params: Params? = null): SearchQueryResult<S>

Executes the search query using an index.