diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-12 13:41:15 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-12 13:41:15 +0000 |
commit | 3efc9cfdde773167f3a8385dc7ccf9b7235d3acb (patch) | |
tree | 0a0cae7eb7c0053d83ed5c5bbc0edd0200a3d0ab /searchcommon | |
parent | 76a6060a8d840f4babc6ad613b6dd9d13f6d9e8d (diff) |
swappable -> paged
Diffstat (limited to 'searchcommon')
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/config.cpp | 6 | ||||
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/config.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/config.cpp b/searchcommon/src/vespa/searchcommon/attribute/config.cpp index 905a446407d..ee5e4a6a905 100644 --- a/searchcommon/src/vespa/searchcommon/attribute/config.cpp +++ b/searchcommon/src/vespa/searchcommon/attribute/config.cpp @@ -14,7 +14,7 @@ Config::Config() noexcept : _isFilter(false), _fastAccess(false), _mutable(false), - _swappable(false), + _paged(false), _match(Match::UNCASED), _dictionary(), _growStrategy(), @@ -36,7 +36,7 @@ Config::Config(BasicType bt, CollectionType ct, bool fastSearch_, bool huge_) no _isFilter(false), _fastAccess(false), _mutable(false), - _swappable(false), + _paged(false), _match(Match::UNCASED), _dictionary(), _growStrategy(), @@ -66,7 +66,7 @@ Config::operator==(const Config &b) const _isFilter == b._isFilter && _fastAccess == b._fastAccess && _mutable == b._mutable && - _swappable == b._swappable && + _paged == b._paged && _match == b._match && _dictionary == b._dictionary && _growStrategy == b._growStrategy && diff --git a/searchcommon/src/vespa/searchcommon/attribute/config.h b/searchcommon/src/vespa/searchcommon/attribute/config.h index bb278951b8e..97038ea9653 100644 --- a/searchcommon/src/vespa/searchcommon/attribute/config.h +++ b/searchcommon/src/vespa/searchcommon/attribute/config.h @@ -40,7 +40,7 @@ public: CollectionType collectionType() const { return _type; } bool fastSearch() const { return _fastSearch; } bool huge() const { return _huge; } - bool swappable() const { return _swappable; } + bool paged() const { return _paged; } const PredicateParams &predicateParams() const { return _predicateParams; } const vespalib::eval::ValueType & tensorType() const { return _tensorType; } DistanceMetric distance_metric() const { return _distance_metric; } @@ -117,7 +117,7 @@ public: */ Config & setIsFilter(bool isFilter) { _isFilter = isFilter; return *this; } Config & setMutable(bool isMutable) { _mutable = isMutable; return *this; } - Config & setSwappable(bool isSwappable) { _swappable = isSwappable; return *this; } + Config & setPaged(bool paged_in) { _paged = paged_in; return *this; } Config & setFastAccess(bool v) { _fastAccess = v; return *this; } Config & setGrowStrategy(const GrowStrategy &gs) { _growStrategy = gs; return *this; } Config & setCompactionStrategy(const CompactionStrategy &compactionStrategy) { @@ -139,7 +139,7 @@ private: bool _isFilter; bool _fastAccess; bool _mutable; - bool _swappable; + bool _paged; Match _match; DictionaryConfig _dictionary; GrowStrategy _growStrategy; |