aboutsummaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2021-03-25 08:57:17 +0000
committerGeir Storli <geirst@verizonmedia.com>2021-03-25 08:57:17 +0000
commit14694cc31cebd06e787a310d34c06aeb9b75b26c (patch)
tree3b74059861ed86b6be9ca6468c91509762e7f184 /searchcorespi
parent4289b9e2ad766a7929bbaed8628c8a91959e2065 (diff)
Track the max disk size used by a single Searchable component.
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/indexcollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexcollection.cpp b/searchcorespi/src/vespa/searchcorespi/index/indexcollection.cpp
index 12128a3df18..031cf0178d8 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/indexcollection.cpp
+++ b/searchcorespi/src/vespa/searchcorespi/index/indexcollection.cpp
@@ -113,7 +113,7 @@ IndexCollection::getSearchableStats() const
{
search::SearchableStats stats;
for (size_t i = 0; i < _sources.size(); ++i) {
- stats.add(_sources[i].source_wrapper->getSearchableStats());
+ stats.merge(_sources[i].source_wrapper->getSearchableStats());
}
return stats;
}