Summary: | Use search fields weight/relevancy on OPAC simple search | ||
---|---|---|---|
Product: | Koha | Reporter: | Alex Arnaud <alex.arnaud> |
Component: | Searching - Elasticsearch | Assignee: | Alex Arnaud <alex.arnaud> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | dcook, martin.renvoize, nick, nicolas.legrand, severine.queune |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 18316 | ||
Bug Blocks: | |||
Attachments: |
Bug 20602 - use weighted fields in OPAC simple search
Bug 20602 - use weighted fields in OPAC simple search Bug 20602 - use weighted fields in OPAC simple search Bug 20602: Use weighted fields in OPAC simple search |
Description
Alex Arnaud
2018-04-18 09:58:31 UTC
Created attachment 74437 [details] [review] Bug 20602 - use weighted fields in OPAC simple search Test plan (having Koha working with Elasticsearch): - apply this patch, - try searches with and without weight defined on search fields https://bugs.koha-community.org/show_bug.cgi?id=20262 Not sure I can test it as 18316 is 'Failed'. Created attachment 74729 [details] [review] Bug 20602 - use weighted fields in OPAC simple search Test plan (having Koha working with Elasticsearch): - apply this patch, - try searches with and without weight defined on search fields https://bugs.koha-community.org/show_bug.cgi?id=20262 Created attachment 74755 [details] [review] Bug 20602 - use weighted fields in OPAC simple search Test plan (having Koha working with Elasticsearch): - apply this patch, - try searches with and without weight defined on search fields https://bugs.koha-community.org/show_bug.cgi?id=20262 Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Result order is now exactly the same as in the staff client. This make the results so relevant ! Thanks Alex :) Waiting for parent bug. Created attachment 81518 [details] [review] Bug 20602: Use weighted fields in OPAC simple search Test plan (having Koha working with Elasticsearch): - apply this patch, - try searches with and without weight defined on search fields https://bugs.koha-community.org/show_bug.cgi?id=20262 Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Trivial patch when applied atop bug 18316. No regressions found. Passing QA I was going to say that this makes Zebra and ElasticSearch behaviours deviate, but after a glance... I think they already deviate a lot? Field weighting for Zebra is done really badly, so I wouldn't want it added to the Zebra simple search anyway... I think it can't be avoided, we are not trying to rebuild Zebra as is, but something that will hopefully work better :) (In reply to Katrin Fischer from comment #10) > I think it can't be avoided, we are not trying to rebuild Zebra as is, but > something that will hopefully work better :) We can hope! Awesome work all! Pushed to master for 18.11 Enhancement, will not be backported to 18.05.x series. |