diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-12 07:14:40 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-12 07:14:40 +0000 |
commit | fab0b7156ffc7eeeae221fdf4b61bbb3b56c4d3d (patch) | |
tree | 416bba89301f117bf964a5eb217d7c899c5982ab /searchcommon | |
parent | 43597d9f7e1c65563d5fddcb13f66000ad98b9e6 (diff) |
swapable -> swappable
Diffstat (limited to 'searchcommon')
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/config.cpp | 40 | ||||
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/config.h | 6 |
2 files changed, 23 insertions, 23 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/config.cpp b/searchcommon/src/vespa/searchcommon/attribute/config.cpp index 23119ac8e1f..905a446407d 100644 --- a/searchcommon/src/vespa/searchcommon/attribute/config.cpp +++ b/searchcommon/src/vespa/searchcommon/attribute/config.cpp @@ -5,24 +5,24 @@ namespace search::attribute { Config::Config() noexcept : - _basicType(BasicType::NONE), - _type(CollectionType::SINGLE), - _fastSearch(false), - _huge(false), - _enableBitVectors(false), - _enableOnlyBitVector(false), - _isFilter(false), - _fastAccess(false), - _mutable(false), - _swapable(false), - _match(Match::UNCASED), - _dictionary(), - _growStrategy(), - _compactionStrategy(), - _predicateParams(), - _tensorType(vespalib::eval::ValueType::error_type()), - _distance_metric(DistanceMetric::Euclidean), - _hnsw_index_params() + _basicType(BasicType::NONE), + _type(CollectionType::SINGLE), + _fastSearch(false), + _huge(false), + _enableBitVectors(false), + _enableOnlyBitVector(false), + _isFilter(false), + _fastAccess(false), + _mutable(false), + _swappable(false), + _match(Match::UNCASED), + _dictionary(), + _growStrategy(), + _compactionStrategy(), + _predicateParams(), + _tensorType(vespalib::eval::ValueType::error_type()), + _distance_metric(DistanceMetric::Euclidean), + _hnsw_index_params() { } @@ -36,7 +36,7 @@ Config::Config(BasicType bt, CollectionType ct, bool fastSearch_, bool huge_) no _isFilter(false), _fastAccess(false), _mutable(false), - _swapable(false), + _swappable(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 && - _swapable == b._swapable && + _swappable == b._swappable && _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 36bfe711029..bb278951b8e 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 swapable() const { return _swapable; } + bool swappable() const { return _swappable; } 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 & setSwapable(bool isSwapable) { _swapable = isSwapable; return *this; } + Config & setSwappable(bool isSwappable) { _swappable = isSwappable; 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 _swapable; + bool _swappable; Match _match; DictionaryConfig _dictionary; GrowStrategy _growStrategy; |