File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
server/src/main/java/org/elasticsearch/index Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -248,13 +248,13 @@ protected final DocsStats docsStats(IndexReader indexReader) {
248248 /**
249249 * @throws AlreadyClosedException if the shard is closed
250250 */
251- public ShardFieldStats getShardFieldStats () {
251+ public ShardFieldStats shardFieldStats () {
252252 try (var searcher = acquireSearcher ("shard_field_stats" , Engine .SearcherScope .INTERNAL )) {
253- return getShardFieldStats (searcher .getLeafContexts ());
253+ return shardFieldStats (searcher .getLeafContexts ());
254254 }
255255 }
256256
257- protected ShardFieldStats getShardFieldStats (List <LeafReaderContext > leaves ) {
257+ protected ShardFieldStats shardFieldStats (List <LeafReaderContext > leaves ) {
258258 int numSegments = 0 ;
259259 int totalFields = 0 ;
260260 long usages = 0 ;
Original file line number Diff line number Diff line change @@ -4159,7 +4159,7 @@ public void beforeRefresh() {
41594159 public void afterRefresh (boolean didRefresh ) {
41604160 if (shardFieldStats == null || didRefresh ) {
41614161 try {
4162- shardFieldStats = getEngine ().getShardFieldStats ();
4162+ shardFieldStats = getEngine ().shardFieldStats ();
41634163 } catch (AlreadyClosedException ignored ) {}
41644164 }
41654165 }
You can’t perform that action at this time.
0 commit comments