diff options
| author | Pjotr <wrk@bosa.lan> | 2026-11-07 14:46:13 +0000 |
|---|---|---|
| committer | Pjotr <wrk@bosa.lan> | 2026-11-07 14:46:13 +0000 |
| commit | ac20f209da4740ae8a79b7a1482c540fc4846fa2 (patch) | |
| tree | 7cc72e3c8cb4a53af6e99062afa6e76644ca012b /test/python/test_hello_world.py | |
| parent | 84838f6e8f42a2a794641bc766f273fbd152e7fd (diff) | |
| download | genenetwork4-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_hello_world.py')
0 files changed, 0 insertions, 0 deletions
