aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-05-08 09:03:19 +0000
committerGeir Storli <geirst@verizonmedia.com>2019-05-08 09:03:19 +0000
commit71a5f6187da70068f30dfc955a4482480ead8266 (patch)
tree4682d80891520afa4fe232b3089e0e2160c86f5f
parentf446180f650181b40d69f9433cfc8d2eca43f819 (diff)
Remove quick mode (that was used for unit testing).
-rw-r--r--searchlib/src/tests/postinglistbm/postinglistbm.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/searchlib/src/tests/postinglistbm/postinglistbm.cpp b/searchlib/src/tests/postinglistbm/postinglistbm.cpp
index 69e3092a771..d910f502cb1 100644
--- a/searchlib/src/tests/postinglistbm/postinglistbm.cpp
+++ b/searchlib/src/tests/postinglistbm/postinglistbm.cpp
@@ -63,8 +63,7 @@ usage()
"[-s <stride>] "
"[-t <postingType>] "
"[-u] "
- "[-w <numWordsPerClass>] "
- "[-q]\n");
+ "[-w <numWordsPerClass>]\n");
}
void
@@ -113,7 +112,6 @@ PostingListBM::Main()
argi = 1;
bool hasElements = false;
bool hasElementWeights = false;
- bool quick = false;
while ((c = GetOpt("C:c:m:r:d:l:s:t:uw:T:q", optArg, argi)) != -1) {
switch(c) {
@@ -174,12 +172,6 @@ PostingListBM::Main()
case 'w':
_numWordsPerClass = atoi(optArg);
break;
- case 'q':
- quick = true;
- _numDocs = 36000;
- _commonDocFreq = 10000;
- _numWordsPerClass = 5;
- break;
default:
usage();
return 1;
@@ -194,10 +186,7 @@ PostingListBM::Main()
_wordSet.setupParams(hasElements, hasElementWeights);
uint32_t numTasks = 40000;
- if (quick) {
- numTasks = 40;
- }
-
+
if (_postingTypes.empty()) {
_postingTypes = getPostingTypes();
}