about summary refs log tree commit diff
path: root/test/python/server_test_case.py
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-06 13:35:59 +0000
committerPjotr <wrk@bosa.lan>2026-11-06 13:35:59 +0000
commit4ea099490114ec845285642280d4def715fa0c20 (patch)
tree25e37112a151d6cfe01b3cda8883c0fee9a47249 /test/python/server_test_case.py
parent8939c00462dd96ee80052a633d6d189f74bedecf (diff)
downloadgenenetwork4-4ea099490114ec845285642280d4def715fa0c20.tar.gz
search: lowercase boolean prefix values
The index stores every boolean term in lowercase and holds no
mixed-case variants at all: XDSbxdpublish (15 060 docs), Awilliams
(10 958), XSmouse, XCx, XYbdnf, XImrna all exist, while XDSBXDPublish,
AWilliams, XSMouse, XCX, XYBDNF and XIMRNA report "not in database" on
both the dev index and a full production one. Matching the value
exactly therefore rejected the way a caller naturally writes it --
dataset:BXDPublish returned 0 hits against an index holding 15 060
BXDPublish traits, author:Williams 0 against 10 958 williams authors.

Lowercase the value for every boolean prefix, generalising the
group-only rule gn3 already has (search.py:204-209). No graded parity
shape changes: they all use lowercase values already.

Pinned per prefix in boolean_prefixes_parse_to_exact_index_terms, so a
registration that regresses to an exact add_boolean_prefix fails there
instead of silently returning zero hits.
Diffstat (limited to 'test/python/server_test_case.py')
0 files changed, 0 insertions, 0 deletions