diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-21 15:32:48 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-21 15:32:48 +0100 |
commit | 307a3d3801e445ed6c13d90e179e62bab30cd5c8 (patch) | |
tree | 5f376104aa75733b9220ebb6fbf7c9abdd8ba01d /streamingvisitors/src/vespa/searchvisitor/hitcollector.h | |
parent | 97cb260cbe24d644f477362fe1de9407fc53d6c9 (diff) |
Update comments with lifetime assumptions.
Diffstat (limited to 'streamingvisitors/src/vespa/searchvisitor/hitcollector.h')
-rw-r--r-- | streamingvisitors/src/vespa/searchvisitor/hitcollector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/hitcollector.h b/streamingvisitors/src/vespa/searchvisitor/hitcollector.h index b8b35f992fc..12503640cbb 100644 --- a/streamingvisitors/src/vespa/searchvisitor/hitcollector.h +++ b/streamingvisitors/src/vespa/searchvisitor/hitcollector.h @@ -95,7 +95,7 @@ public: * If you add a NULL document you should not use getDocSum() or fillSearchResult(), * as these functions expect valid documents. * - * @param doc The document that is a hit. + * @param doc The document that is a hit. Must be kept alive on the outside. * @param data The match data for the hit. * @return true if the document was added to the heap **/ @@ -107,7 +107,7 @@ public: * If you add a NULL document you should not use getDocSum() or fillSearchResult(), * as these functions expect valid documents. * - * @param doc The document that is a hit. + * @param doc The document that is a hit. Must be kept alive on the outside. * @param data The match data for the hit. * @param sortData The buffer of the sortdata. * @param sortDataLen The length of the sortdata. |