aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/searchable
diff options
context:
space:
mode:
authorHaavard <havardpe@yahoo-inc.com>2017-06-27 12:30:04 +0000
committerHaavard <havardpe@yahoo-inc.com>2017-06-27 12:30:04 +0000
commit81e6d66251b980bb275e5ae19dcdbe44929dabae (patch)
treef590452327c15520369ec0f354f5ac9034b3a042 /searchlib/src/tests/attribute/searchable
parentf7906fd2c5c6d47613ed19cb81bc841726a2ebad (diff)
set docid limit appropriately
Diffstat (limited to 'searchlib/src/tests/attribute/searchable')
-rw-r--r--searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp b/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp
index ebd50f42534..5e1882e2156 100644
--- a/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp
+++ b/searchlib/src/tests/attribute/searchable/attributeblueprint_test.cpp
@@ -124,7 +124,7 @@ bool Test::search(const Node &node, IAttributeManager &attribute_manager) {
result->fetchPostings(true);
SearchIterator::UP iterator = result->createSearch(*md, true);
ASSERT_TRUE((bool)iterator);
- iterator->initRange(1, result->get_docid_limit());
+ iterator->initRange(1, 3);
EXPECT_TRUE(!iterator->seek(1));
return iterator->seek(2);
}