aboutsummaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
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;
}