Skip to content

Commit 689618b

Browse files
committed
Add nocommit to sequence number stats method
This commit adds a nocommit to the SeqNoFieldType#stats method as the implementation is temporary until late-binding commits are available.
1 parent 9799d71 commit 689618b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/main/java/org/elasticsearch/index/mapper/internal/SeqNoFieldMapper.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ public Query termQuery(Object value, @Nullable QueryShardContext context) {
116116

117117
@Override
118118
public FieldStats stats(IndexReader reader) throws IOException {
119+
// nocommit remove implementation when late-binding commits
120+
// are possible
119121
final List<LeafReaderContext> leaves = reader.leaves();
120122
if (leaves.isEmpty()) {
121123
return null;

0 commit comments

Comments
 (0)