zvec/tests
feihongxu0824 a9008b0fd2
fix: nullable scalar field filter leaks null documents without inverted index (#410)
When a nullable scalar field has no inverted index, the forward filter path
fails to handle null values from Arrow's filter evaluation:

1. get_forward_bit(): BooleanArray::operator[] returns nullopt for null entries,
   which is_filtered() treats as "no filter" (not filtered), letting null docs
   through. Fix: use value_or(false) to treat null as "not matched".

2. is_matched_by_forward_filter(): reads BooleanScalar.value without checking
   is_valid, which is UB for null scalars. Fix: check is_valid first.

Closes #409

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-18 20:25:06 +08:00
..
ailego refactor: remove hamming metric (#365) 2026-05-18 19:31:20 +08:00
c minor: remove unused validation in c api (#388) 2026-05-08 19:04:45 +08:00
core refactor: remove hamming metric (#365) 2026-05-18 19:31:20 +08:00
db fix: nullable scalar field filter leaks null documents without inverted index (#410) 2026-05-18 20:25:06 +08:00
CMakeLists.txt fix: misc fix for Windows(BUILD_SHARED_LIBS, CI) (#296) 2026-04-02 09:23:35 +08:00
android_gmock_main.cc ci: refact android ci (#330) 2026-04-15 15:37:51 +08:00
android_gtest_main.cc ci: refact android ci (#330) 2026-04-15 15:37:51 +08:00
ios_test_sandbox.cc feat: add iOS build support (#321) 2026-04-09 16:14:26 +08:00
test_util.h feat: add iOS build support (#321) 2026-04-09 16:14:26 +08:00