BaseXdb/basex — Issue #359: Full-Text: all words, distance
Author: ChristianGruen
Created: 2012-01-30 00:38:37+00:00
State: open
Labels: bug, XQuery

Some distance calculations yield wrong results if evaluated via the index. Example:

doc.xml: `B x A`
query.xq: `doc('doc.xml')//*[text() contains text "A B" all words distance exactly 0 words]`

Query shouldn't return any result. Works correctly without full-text index.