about summary refs log tree commit diff
path: root/test/python/test_group_case_attributes.py
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-11-07 14:46:13 +0000
committerPjotr <wrk@bosa.lan>2026-11-07 14:46:13 +0000
commitac20f209da4740ae8a79b7a1482c540fc4846fa2 (patch)
tree7cc72e3c8cb4a53af6e99062afa6e76644ca012b /test/python/test_group_case_attributes.py
parent84838f6e8f42a2a794641bc766f273fbd152e7fd (diff)
downloadgenenetwork4-ac20f209da4740ae8a79b7a1482c540fc4846fa2.tar.gz
docs: search is Xapian, and what that means for a query
The AI instructions described the field prefixes but not the semantics,
so a reader would reasonably assume AND between words, working quoted
phrases and wildcard prefixes -- none of which is true here. Measuring
against the production index: juxtaposition is OR (`alcohol` 1 200 vs
`alcohol AND dependence` 45), free text is stemmed and
case-insensitive, quoted phrases and NEAR/ADJ match *nothing* because
the stemmed terms carry no positions (a hyphenated word is a phrase, so
`insulin-like` also matches nothing), and wildcards are not enabled
(`alcohol*` is just `alcohol`).

* docs/www/ai-instruction.md (3. Search): rewritten around the Xapian
QueryParser semantics and a table of exact / stemmed / numeric-range
fields.
* docs/search-engines.md: the same, for whoever maintains the engine,
plus the gn3-forward-vs-native difference in what counts as a field.
Diffstat (limited to 'test/python/test_group_case_attributes.py')
0 files changed, 0 insertions, 0 deletions