summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-02-08 15:32:03 +0100
committerTor Egge <Tor.Egge@online.no>2023-02-08 15:32:03 +0100
commitea0c5f449b26d2fb2012dfd9c47c96339d37fc35 (patch)
tree4bfc053a406befda4bf43dc9e320c9e06468daff
parent0046c0fd92c1cb57c3dbe95aa7a044f73734e453 (diff)
Adjust member function name according to review feedback.
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h2
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
index 66ac20f5ebd..fed94a6ab54 100644
--- a/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
+++ b/searchcore/src/vespa/searchcore/proton/server/fast_access_doc_subdb.h
@@ -99,7 +99,7 @@ protected:
IReprocessingTask::UP createReprocessingTask(IReprocessingInitializer &initializer,
const std::shared_ptr<const document::DocumentTypeRepo> &docTypeRepo) const;
- bool get_fast_access_attributes_only() const noexcept { return _fastAccessAttributesOnly; }
+ bool has_fast_access_attributes_only() const noexcept { return _fastAccessAttributesOnly; }
public:
FastAccessDocSubDB(const Config &cfg, const Context &ctx);
diff --git a/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp b/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp
index 0f98f2c106c..04ff21d13d5 100644
--- a/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp
@@ -139,7 +139,7 @@ std::unique_ptr<DocumentSubDBReconfig>
SearchableDocSubDB::prepare_reconfig(const DocumentDBConfig& new_config_snapshot, const DocumentDBConfig& old_config_snapshot, const ReconfigParams& reconfig_params, std::optional<SerialNum> serial_num)
{
auto alloc_strategy = new_config_snapshot.get_alloc_config().make_alloc_strategy(_subDbType);
- AttributeCollectionSpecFactory attr_spec_factory(alloc_strategy, get_fast_access_attributes_only());
+ AttributeCollectionSpecFactory attr_spec_factory(alloc_strategy, has_fast_access_attributes_only());
auto docid_limit = _dms->getCommittedDocIdLimit();
return _configurer.prepare_reconfig(new_config_snapshot, old_config_snapshot, attr_spec_factory, reconfig_params, docid_limit, serial_num);
}