summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/hitcollector/hitcollector_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-07-27 01:09:36 +0200
committerHenning Baldersheim <balder@oath.com>2018-07-27 01:09:36 +0200
commit70e0741c327bfa397d450c36a891e2d99fe57a75 (patch)
tree3dffa01fdf706407c71feb03df5be4a812e9e103 /searchlib/src/tests/hitcollector/hitcollector_test.cpp
parent10d7cd86098937b8b559099e34dea365be70dea9 (diff)
Select the hits to rerank in the selectBest part instead of a later copy.
Stick to full hits instead of feature_t.
Diffstat (limited to 'searchlib/src/tests/hitcollector/hitcollector_test.cpp')
-rw-r--r--searchlib/src/tests/hitcollector/hitcollector_test.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/searchlib/src/tests/hitcollector/hitcollector_test.cpp b/searchlib/src/tests/hitcollector/hitcollector_test.cpp
index f025c09b6b9..ec5d94c52cb 100644
--- a/searchlib/src/tests/hitcollector/hitcollector_test.cpp
+++ b/searchlib/src/tests/hitcollector/hitcollector_test.cpp
@@ -231,18 +231,6 @@ TEST_F("testReRank - partial", AscendingScoreFixture)
TEST_DO(checkResult(*rs, f.expBv.get()));
}
-TEST_F("require that scores for 2nd phase candidates can be retrieved", DescendingScoreFixture)
-{
- f.addHits();
- std::vector<feature_t> scores = f.hc.getSortedHeapScores();
- ASSERT_EQUAL(5u, scores.size());
- EXPECT_EQUAL(100, scores[0]);
- EXPECT_EQUAL(99, scores[1]);
- EXPECT_EQUAL(98, scores[2]);
- EXPECT_EQUAL(97, scores[3]);
- EXPECT_EQUAL(96, scores[4]);
-}
-
TEST_F("require that hits for 2nd phase candidates can be retrieved", DescendingScoreFixture)
{
f.addHits();