Searching all documents in one index

The following code will search for all documents, but only within the catalog index:

GET /catalog/_search

You can also be more specific and include the type in addition to the index name, like so:

GET /catalog/_doc/_search

The version with the _doc type name produces a deprecation warning because each index is supposed to contain only one type.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.212.113