Full-text bug (?) - all words / any word + stemming

Thursday, 27 October 2022 · 2 messages · last reply 28 Oct 2022
HR
Hans-Juergen Rennau27 Oct 2022 16:58 #

Hello,

I encountered a behaviour of full-text search which appears to me a bug:

(1) OK basex "'adverse' contains text 'adverse' using stemming"

=> true

(2) NOTOK basex "'adverse' contains text 'adverse' all words using stemming" => false

(3) NOTOK basex "'adverse' contains text 'adverse' any word using stemming"

=> false

(4) OK

basex "'fox' contains text 'fox' any word using stemming"

=> true

BaseX version is 10.3.

With kind regards, Hans-Jürgen

CG
Christian Grün28 Oct 2022 11:13 #

Thanks, Hans-Jürgen. I have added your observations in the existing GitHub issue on misbehaving XQFT expressions. Best, Christian

Quoted text · Hans-Juergen Rennau · 26 lines
On Thu, Oct 27, 2022 at 4:59 PM Hans-Juergen Rennau <hrennau at yahoo.de> wrote: > > Hello, > > I encountered a behaviour of full-text search which appears to me a bug: > > (1) OK > basex "'adverse' contains text 'adverse' using stemming" > => true > > (2) NOTOK > basex "'adverse' contains text 'adverse' all words using stemming" > => false > > (3) NOTOK > basex "'adverse' contains text 'adverse' any word using stemming" > => false > > (4) OK > basex "'fox' contains text 'fox' any word using stemming" > => true > > BaseX version is 10.3. > > With kind regards, > Hans-Jürgen

⚡Generated with XQuery