6 search interface -- 1 search

Searches can span multiple indexes or multiple types as follows: Search for all types of articles in the twitter index
GET /twitter/_search?q=user:kimchy

Search for certain types
GET /twitter/tweet,user/_search?q=user:kimchy

Search across several indexes to search for data of type tweet
GET /kimchy,elasticsearch/tweet/_search?q=tag:wow

Or search for data of type tweet under all indexes
GET /_all/tweet/_search?q=tag:wow

Search all indexes
GET /_search?q=tag:wow


By default, es refuses to search beyond 1000 data stanzas. Of course, you can also modify the cluster settings
action.search.shard_count.limit

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326545972&siteId=291194637