Searching all the documents of a particular type in all indexes

The following will search all the indexes in the cluster, but only documents of the product type will be searched:

GET /_all/_doc/_search

This feature can be quite handy when you have multiple indexes, with each index containing the exact same type. This type of query can help you query data for that type from all indexes.

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

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