-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add a generic method for reading shard field stats from an Engine #125055
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
Conversation
|
Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only a minor comment about the method.
| } | ||
| } | ||
|
|
||
| protected ShardFieldStats shardFieldStats(List<LeafReaderContext> leaves) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we should make this method static.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I've changed it to be static cb2b70b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…astic#125055) Support reading shard field stats outside of `IndexShard` in read-only engines. See ES-11062
Support reading shard field stats outside of
IndexShardin read-only engines.See ES-11062