[Koha-bugs] [Bug 24155] Weights should be (optionally) applied to Advanced search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 20 19:59:05 CEST 2020


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #110406|0                           |1
        is obsolete|                            |
 Attachment #110407|0                           |1
        is obsolete|                            |
 Attachment #110408|0                           |1
        is obsolete|                            |
 Attachment #110409|0                           |1
        is obsolete|                            |

--- Comment #31 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 110431
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110431&action=edit
Bug 24155: Make weighting an option on advanced search

Currently we apply weighting to all searches except advanced search. The theory
being that when selecting indexes we don't want to apply weights. When
searching
in ES weights are only applied to relevant results so it doesn't matter.

i.e. if weighting author*100 but searching subject, a term matching the subject
search in author
is not boosted.

Given this, we should always apply weights, unless the user wishes not to

To test:
1 - Set some weighting
2 - Do some searches
3 - Note your terms and results, try advanced and regular searches specifying
indexes or not
4 - Apply patch
5 - Note that opac and staff advanced search have option to apply weights
6 - Compare searches after the patch to see how weighting affects, it should be
beneficial or not at all

Signed-off-by: Myka Kennedy Stephens <mkstephens at lancasterseminary.edu>

Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>

Signed-off-by: Bob Bennhoff <bbennhoff at clicweb.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list