Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement search shards API #2726

Closed
imotov opened this issue Mar 4, 2013 · 0 comments
Closed

Implement search shards API #2726

imotov opened this issue Mar 4, 2013 · 0 comments

Comments

@imotov
Copy link
Contributor

imotov commented Mar 4, 2013

An "admin.cluster" based API, which for a given a search request URI returns back the shards and nodes that the search is going to execute on.

The search shards API is using the same index as search API, except it uses the _search_shards end point instead of _search. For example, the following command will return a list of nodes and shards that would be used to execute a search request on index twitter with routing march:

$ curl -XGET 'http://localhost:9200/twitter/tweet/_search_shards?routing=march'

Shards that this command returns are grouped by index and shard_id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant