summaryrefslogtreecommitdiffstats
path: root/searchlib/src/apps/vespa-attribute-inspect
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-06-03 11:16:07 +0000
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:28 +0200
commitbac717c8785376988f866ea1f819d4d287382a26 (patch)
tree2906a9a8f6467daba6ff3d1272c5e8bd6096f26d /searchlib/src/apps/vespa-attribute-inspect
parentff4a41bcdb1b8f2bbc009203a7c7088a7e7e5dca (diff)
Remove 'attribute: huge' from config def file and C++ code.
Diffstat (limited to 'searchlib/src/apps/vespa-attribute-inspect')
-rw-r--r--searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp b/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
index d9d6bb56152..5833f9cc904 100644
--- a/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
+++ b/searchlib/src/apps/vespa-attribute-inspect/vespa-attribute-inspect.cpp
@@ -112,11 +112,10 @@ LoadAttribute::main(int argc, char **argv)
bool doApplyUpdate = false;
bool doSave = false;
bool doFastSearch = false;
- bool doHuge = false;
int opt;
bool optError = false;
- while ((opt = getopt(argc, argv, "pasf:h")) != -1) {
+ while ((opt = getopt(argc, argv, "pasf:")) != -1) {
switch (opt) {
case 'p':
doPrintContent = true;
@@ -124,9 +123,6 @@ LoadAttribute::main(int argc, char **argv)
case 'a':
doApplyUpdate = true;
break;
- case 'h':
- doHuge = true;
- break;
case 'f':
if (strcmp(optarg, "search") == 0) {
doFastSearch = true;
@@ -162,7 +158,6 @@ LoadAttribute::main(int argc, char **argv)
attribute::CollectionType ct(fh.getTag("collectiontype").asString());
attribute::Config c(bt, ct);
c.setFastSearch(doFastSearch);
- c.setHuge(doHuge);
AttributePtr ptr = AttributeFactory::createAttribute(fileName, c);
vespalib::Timer timer;
load(ptr);