Skip to content

Commit 61f17e7

Browse files
committed
add javadoc
1 parent 26cc064 commit 61f17e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,9 @@ static Engine.Index prepareIndex(DocumentMapperForType docMapper, SourceToParse
567567
return new Engine.Index(uid, doc, seqNo, primaryTerm, version, versionType, origin, startTime, autoGeneratedIdTimestamp, isRetry);
568568
}
569569

570+
/**
571+
* Applies an engine operation to the shard, which can be either an index, delete or noop operation.
572+
*/
570573
public Engine.Result applyOperation(Engine.Operation operation) throws IOException {
571574
return applyOperation(getEngine(), operation);
572575
}

0 commit comments

Comments
 (0)