summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-11-07 15:49:08 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-11-07 15:49:08 +0000
commita0b7e84730b785c2380296783538ffa1767d2ed3 (patch)
tree5b9c4c092c24f76213ddbfb06952c0cf96bd4252 /searchlib
parent873d279e8e962f94bf6f46f9ad1b5f390208ed6c (diff)
Add comment about odd logic.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/queryeval/andsearchstrict.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/andsearchstrict.h b/searchlib/src/vespa/searchlib/queryeval/andsearchstrict.h
index 3205193bc03..54a3464f747 100644
--- a/searchlib/src/vespa/searchlib/queryeval/andsearchstrict.h
+++ b/searchlib/src/vespa/searchlib/queryeval/andsearchstrict.h
@@ -96,6 +96,7 @@ AndSearchStrict<Unpack>::andWith(SearchIterator::UP filter, uint32_t estimate_)
} else {
filter = this->offerFilterToChildren(std::move(filter), estimate_);
if (filter) {
+ // TODO This sounds wrong... Must reconsider. If not strict it should probably be last.
this->insert(1, std::move(filter));
}
}