summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@verizonmedia.com>2019-06-14 13:26:21 +0000
committerTor Egge <Tor.Egge@verizonmedia.com>2019-06-14 13:26:21 +0000
commit8ef5102c2ad6f1c0cd8098cdf45473d49f62e8de (patch)
tree808f09a5323e065246e36ce5af75a69a2178dc38
parent3ddea2a1c8a5d0da53b97c021c48f878b64c7810 (diff)
Fix indentation and update comment.
-rw-r--r--searchlib/src/vespa/searchlib/memoryindex/posting_list_entry.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/memoryindex/posting_list_entry.h b/searchlib/src/vespa/searchlib/memoryindex/posting_list_entry.h
index af204c84bbb..b28cd87736c 100644
--- a/searchlib/src/vespa/searchlib/memoryindex/posting_list_entry.h
+++ b/searchlib/src/vespa/searchlib/memoryindex/posting_list_entry.h
@@ -22,9 +22,14 @@ public:
: _features()
{
}
- datastore::EntryRef get_features() const { return _features; }
- // Reference moved data (used when compacting FeatureStore)
+ datastore::EntryRef get_features() const { return _features; }
+
+ /*
+ * Reference moved features (used when compacting FeatureStore).
+ * The moved features must have the same content as the original
+ * features.
+ */
void update_features(datastore::EntryRef features) const { _features = features; }
};