summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-03-24 13:08:06 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-03-24 13:08:06 +0000
commit88af21275a5e3f40cada0ca222097e10c5d06ea3 (patch)
treed8bf6868abee565481d6415dd73f36a68812bd85 /searchcommon
parent6a4b99116be4fd053ba6d94eb950e0cbc61ee438 (diff)
Remove max internal blob size from attribute config.
Diffstat (limited to 'searchcommon')
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/config.cpp2
-rw-r--r--searchcommon/src/vespa/searchcommon/attribute/config.h6
2 files changed, 0 insertions, 8 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/config.cpp b/searchcommon/src/vespa/searchcommon/attribute/config.cpp
index ac7fe34e06b..4d1cd540033 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/config.cpp
+++ b/searchcommon/src/vespa/searchcommon/attribute/config.cpp
@@ -16,7 +16,6 @@ Config::Config() :
_enableOnlyBitVector(false),
_isFilter(false),
_fastAccess(false),
- _maxInternalBlobSize(defaultMaxInternalBlobSize),
_growStrategy(),
_compactionStrategy(),
_arity(8),
@@ -39,7 +38,6 @@ Config::Config(BasicType bt,
_enableOnlyBitVector(false),
_isFilter(false),
_fastAccess(false),
- _maxInternalBlobSize(defaultMaxInternalBlobSize),
_growStrategy(),
_compactionStrategy(),
_arity(8),
diff --git a/searchcommon/src/vespa/searchcommon/attribute/config.h b/searchcommon/src/vespa/searchcommon/attribute/config.h
index d0b2535950f..7a5919620bf 100644
--- a/searchcommon/src/vespa/searchcommon/attribute/config.h
+++ b/searchcommon/src/vespa/searchcommon/attribute/config.h
@@ -11,8 +11,6 @@
namespace search {
namespace attribute {
-const size_t defaultMaxInternalBlobSize = 0x400000000ul;
-
class Config
{
public:
@@ -27,7 +25,6 @@ public:
CollectionType collectionType() const { return _type; }
bool fastSearch() const { return _fastSearch; }
bool huge() const { return _huge; }
- size_t getMaxInternalBlobSize() const { return _maxInternalBlobSize; }
uint32_t arity() const { return _arity; }
int64_t lower_bound() const { return _lower_bound; }
int64_t upper_bound() const { return _upper_bound; }
@@ -70,7 +67,6 @@ public:
const CompactionStrategy &getCompactionStrategy() const { return _compactionStrategy; }
void setHuge(bool v) { _huge = v; }
void setFastSearch(bool v) { _fastSearch = v; }
- void setMaxInternalBlobSize(size_t v) { _maxInternalBlobSize = v; }
void setArity(uint32_t v) { _arity = v; }
void setBounds(int64_t lower, int64_t upper) { _lower_bound = lower;
_upper_bound = upper; }
@@ -126,7 +122,6 @@ public:
_enableOnlyBitVector == b._enableOnlyBitVector &&
_isFilter == b._isFilter &&
_fastAccess == b._fastAccess &&
- _maxInternalBlobSize == b._maxInternalBlobSize &&
_growStrategy == b._growStrategy &&
_compactionStrategy == b._compactionStrategy &&
_arity == b._arity &&
@@ -146,7 +141,6 @@ private:
bool _enableOnlyBitVector;
bool _isFilter;
bool _fastAccess;
- size_t _maxInternalBlobSize;
GrowStrategy _growStrategy;
CompactionStrategy _compactionStrategy;
uint32_t _arity;