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

Cluster State API: Allow to filter the state on nodes, routing_table, metadata, and indices #234

Closed
kimchy opened this issue Jun 22, 2010 · 4 comments

Comments

@kimchy
Copy link
Member

kimchy commented Jun 22, 2010

Allow to filter the cluster state response using the following REST parameters:

  • filter_nodes: set to true to filter out the nodes part of the response.
  • filter_routing_table: set to true to filter out the routing_table part of the response.
  • filter_metadata: set to true to filter out the metadata part of the response.
  • filter_indices: When not filtering metadata, a comma separated list of indices to include in the response.
@kimchy
Copy link
Member Author

kimchy commented Jun 22, 2010

Cluster State API: Allow to filter the state on nodes, routing_table, metadata, and indices, closed by 8e62bb6.

@clintongormley
Copy link

Hiya

The cluster state filtering doesn't work:

curl -XGET 'http://127.0.0.1:9200/_cluster/state?filter_indices=true&filter_nodes=true&filter_routing_table=true&filter_metadata=true'

It looks like you added code to check for the parameters, but you aren't using the results anywhere

@kimchy
Copy link
Member Author

kimchy commented Jul 14, 2010

right, will push a fix later today.

@clintongormley
Copy link

tested++

ClaudioMFreitas pushed a commit to ClaudioMFreitas/elasticsearch-1 that referenced this issue Nov 12, 2019
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Oct 2, 2023
With this commit we install JDK 14 for verification of nightly
benchmarks. We also remove all other outdated Java versions (13, 12 and
8). JDK 11 is still required as runtime JDK.

Relates elastic#210
This issue was closed.
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

2 participants