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

Martin Renvoize <martin.renvo...@ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81005|0                           |1
        is obsolete|                            |

--- Comment #122 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Created attachment 81508
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81508&action=edit
Bug 18316: Add weighting/relevancy options to ES query on simple search

The idea is the following: if some search field(s) are weighted in
search engine config page, Koha will query ES on all fields plus those with
the coresponding weights. Else, search is done on the entire record with
no weighting. The advanced search page is unaffected by these changes

Test plan (having Koha working with Elasticsearch):
  - apply this patch
  - have some weights defined for various fields
  - try searches from the search bar and from the advanced search page
  - confirm weighting affects the relevancy (in expected ways)
      e.g.
      1. search for 'a' from advanced search, note results
      2. give 'title' a weight
      3. search for 'a' using the simple search bar
      4. results with 'a' in the title should now be more relevant
  - confirm search results on advanced search page are unaffected

Signed-off-by: Séverine QUEUNE <severine.que...@bulac.fr>

Signed-off-by: Nick Clemens <n...@bywatersolutions.com>
Signed-off-by: Séverine QUEUNE <severine.que...@bulac.fr>

Rebased-by: Alex Arnaud <alex.arn...@biblibre.com>
Signed-off-by: Ere Maijala <ere.maij...@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvo...@ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to