Hi Hans-Jürgen, I have reopened a related GitHub issue to track this down [1].
Best, Christian [1] https://github.com/BaseXdb/basex/issues/2141 ________________________________ Von: Hans-Juergen Rennau via BaseX-Talk <[email protected]> Gesendet: Montag, 30. Juni 2025 00:10 An: BaseX <[email protected]> Betreff: [basex-talk] Fulltext processing, "window selection" Dear BaseX people, it seems to me there is a bug concerning full text processing. The following expression basex "'a single event during the custodial history of a manuscript or other object.' contains text 'custodial history of a manuscript' all words window 5 words" yields "false", shouldn't it yield "true"? Only when I enhance the window width to 10, I get true. 10 would be the required window length if the window started at the beginning of the string. But I think the window should start at the first and end at the last of the words, so 5 should suffice. With kind regards, Hans-Jürgen

