aboutsummaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2021-11-10 15:16:14 +0100
committerTor Egge <Tor.Egge@online.no>2021-11-10 15:16:14 +0100
commit92f71c11593d7bc2759226a5f324579b309c074a (patch)
tree8dfc681e89ee9facbdd5ea02ec541a6216a987da /searchcorespi
parent634dc8044870d056eb4dfaae7b4f6b7e7f81649c (diff)
Extend function comments to describe new on_write_done parameter.
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h3
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h b/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h
index 5bd618d16a6..a4173b41aa5 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h
+++ b/searchcorespi/src/vespa/searchcorespi/index/iindexmanager.h
@@ -93,6 +93,9 @@ public:
*
* @param serialNum The unique monotoninc increasing serial number
* for this operation.
+ *
+ * @param on_write_done shared object that notifies write done when
+ * destructed.
**/
virtual void putDocument(uint32_t lid, const Document &doc, SerialNum serialNum, OnWriteDoneType on_write_done) = 0;
diff --git a/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h b/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h
index d502d290ea4..16feeb2ce24 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h
+++ b/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h
@@ -42,6 +42,7 @@ struct IMemoryIndex : public searchcorespi::IndexSearchable {
*
* @param lid the local document id.
* @param doc the document to insert.
+ * @param on_write_done shared object that notifies write done when destructed.
*/
virtual void insertDocument(uint32_t lid, const document::Document &doc, OnWriteDoneType on_write_done) = 0;