[Koha-bugs] [Bug 24006] Switching on QueryWeightFields (relevance ranking) breaks search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 30 13:42:38 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24006

Fridolin SOMERS <fridolin.somers at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolin.somers at biblibre.co
                   |                            |m

--- Comment #2 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
(In reply to Bernard from comment #0)
> eg/ using simple search in OPAC
> 
> QueryWeightFields (enabled)
> 
> flute AND oboe = 701
> flute OR oboe = 115
> flute NOT oboe = 10
> 
> QueryWeightFields (disabled)
> 
> flute AND oboe = 1038
> flute OR oboe = 3983
> flute NOT oboe = 2121
> 
> The results from the "disabled" look correct but of course there is no
> longer any relevance ranking.

With QueryWeightFields on, boolean are considered like string, on purpose.
The search terms are around quotes.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list