Fulltext processing, "window selection"

Monday, 30 June 2025 · 2 messages
HR
Hans-Juergen Rennau30 Jun 2025 00:10 #
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
CG
Christian Grün30 Jun 2025 09:54 #
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
Quoted text · Hans-Juergen Rennau · 11 lines
Von: Hans-Juergen Rennau via BaseX-Talk <basex-talk at mailman.uni-konstanz.de> Gesendet: Montag, 30. Juni 2025 00:10 An: BaseX <basex-talk at mailman.uni-konstanz.de> 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

⚡Generated with XQuery