diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-06 13:35:59 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-06 13:35:59 +0000 |
| commit | 4ea099490114ec845285642280d4def715fa0c20 (patch) | |
| tree | 25e37112a151d6cfe01b3cda8883c0fee9a47249 /test/python/test_envelope.py | |
| parent | 8939c00462dd96ee80052a633d6d189f74bedecf (diff) | |
| download | genenetwork4-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/test_envelope.py')
0 files changed, 0 insertions, 0 deletions
