[[search]]
== Search APIs

Search APIs are used to search and aggregate data stored in {es} indices and
data streams. For an overview and related tutorials, see <<search-your-data>>.

Most search APIs support <<multi-index,multi-target syntax>>, with the
exception of the <<search-explain,explain API>>.

[discrete]
[[core-search-apis]]
=== Core search

* <<search-search>>
* <<search-multi-search>>
* <<async-search>>
* <<point-in-time-api>>
* <<scroll-api>>
* <<clear-scroll-api>>
* <<search-suggesters>>

[discrete]
[[search-testing-apis]]
=== Search testing

* <<search-explain>>
* <<search-field-caps>>
* <<search-profile>>
* <<search-rank-eval>>
* <<search-shards>>
* <<search-validate>>

[discrete]
[[search-template-apis]]
=== Search templates

* <<search-template-api>>
* <<multi-search-template>>
* <<render-search-template-api>>


include::search/search.asciidoc[]

include::search/async-search.asciidoc[]

include::search/point-in-time-api.asciidoc[]

include::search/scroll-api.asciidoc[]

include::search/clear-scroll-api.asciidoc[]

include::search/search-template-api.asciidoc[]

include::search/multi-search-template-api.asciidoc[]

include::search/render-search-template-api.asciidoc[]

include::search/search-shards.asciidoc[]

include::search/suggesters.asciidoc[]

include::search/multi-search.asciidoc[]

include::search/count.asciidoc[]

include::search/validate.asciidoc[]

include::search/explain.asciidoc[]

include::search/profile.asciidoc[]

include::search/field-caps.asciidoc[]

include::search/rank-eval.asciidoc[]
