summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-06-11 10:50:01 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-06-11 10:50:01 +0000
commit1da72cf276e683d2257d764388e158e59a6a23ca (patch)
treef534e720d3972e346a4371cc3e24f06006c8a17a /searchlib
parent7bdd3d21d9e3a39a2beb52ea030532fbe06c999e (diff)
Commit before populate.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/attribute/predicate_attribute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/predicate_attribute.cpp b/searchlib/src/vespa/searchlib/attribute/predicate_attribute.cpp
index c4a0e036a01..555117126a9 100644
--- a/searchlib/src/vespa/searchlib/attribute/predicate_attribute.cpp
+++ b/searchlib/src/vespa/searchlib/attribute/predicate_attribute.cpp
@@ -100,8 +100,8 @@ PredicateAttribute::getValueCount(DocId) const
void
PredicateAttribute::onCommit()
{
- populateIfNeeded();
_index->commit();
+ populateIfNeeded();
incGeneration();
}