You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently IndicesStatsRequest has a method per possible index metric. Internally theses are stored using a CommonStatsFlags object. This means that every time we add a stat we need to remember to add a method and remember to map it in RestIndicesStatsAction rather we should just expose the underlying flag, just like NodesStatsRequest.indices() allowing for some automation in the mapping.
The text was updated successfully, but these errors were encountered:
clintongormley
changed the title
Api: move IndicesStatsRequest to expose CommonStatsFlags directly
Move IndicesStatsRequest to expose CommonStatsFlags directly
Jun 8, 2015
Currently IndicesStatsRequest has a method per possible index metric. Internally theses are stored using a
CommonStatsFlags
object. This means that every time we add a stat we need to remember to add a method and remember to map it inRestIndicesStatsAction
rather we should just expose the underlying flag, just likeNodesStatsRequest.indices()
allowing for some automation in the mapping.The text was updated successfully, but these errors were encountered: