[Bug 42107] New: Add score to staff search results
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Bug ID: 42107 Summary: Add score to staff search results Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org When changing search settings in ES it would be helpful to understand how the current results are being scored. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 --- Comment #1 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 195476 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195476&action=edit Bug 42107: Add search scores to staff results page This patch ensures the scores from ES are passed through and added to the search results in the staff side. Initially hidden, the scores can be shown by entering the line below into the JS console in developer tools in the browser, or added to IntranetUserJS to make them always show: $(".search_score").toggle(); To test: 1 - Have Koha using ES 2 - Do some searches, note results 3 - Apply patch, restart all 4 - Confirm results don't change 5 - Enter code from description into IntranetUserJS 6 - Do more searches 7 - Note the score is visible To really note scores, you will need to add some weights to the ES config: Set weights like: title 32 author 16 subject 8 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |nick@bywatersolutions.com |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=40853 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Andrew Auld <andrew.auld@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Andrew Auld <andrew.auld@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195476|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 --- Comment #2 from Andrew Auld <andrew.auld@openfifth.co.uk> --- Created attachment 195847 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195847&action=edit Bug 42107: Add search scores to staff results page This patch ensures the scores from ES are passed through and added to the search results in the staff side. Initially hidden, the scores can be shown by entering the line below into the JS console in developer tools in the browser, or added to IntranetUserJS to make them always show: $(".search_score").toggle(); To test: 1 - Have Koha using ES 2 - Do some searches, note results 3 - Apply patch, restart all 4 - Confirm results don't change 5 - Enter code from description into IntranetUserJS 6 - Do more searches 7 - Note the score is visible To really note scores, you will need to add some weights to the ES config: Set weights like: title 32 author 16 subject 8 Signed-off-by: Andrew Auld <andrew.auld@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Andrew Auld <andrew.auld@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.auld@openfifth.co.uk --- Comment #3 from Andrew Auld <andrew.auld@openfifth.co.uk> --- Love it! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Thomas Klausner <domm@plix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |domm@plix.at QA Contact|testopia@bugs.koha-communit |domm@plix.at |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Thomas Klausner <domm@plix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA --- Comment #4 from Thomas Klausner <domm@plix.at> --- worked like a charm, good for debugging! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Thomas Klausner <domm@plix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #195847|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 --- Comment #5 from Thomas Klausner <domm@plix.at> --- Created attachment 195882 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195882&action=edit Bug 42107: Add search scores to staff results page This patch ensures the scores from ES are passed through and added to the search results in the staff side. Initially hidden, the scores can be shown by entering the line below into the JS console in developer tools in the browser, or added to IntranetUserJS to make them always show: $(".search_score").toggle(); To test: 1 - Have Koha using ES 2 - Do some searches, note results 3 - Apply patch, restart all 4 - Confirm results don't change 5 - Enter code from description into IntranetUserJS 6 - Do more searches 7 - Note the score is visible To really note scores, you will need to add some weights to the ES config: Set weights like: title 32 author 16 subject 8 Signed-off-by: Andrew Auld <andrew.auld@openfifth.co.uk> Signed-off-by: Thomas Klausner <domm@plix.at> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 --- Comment #6 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|26.05.00 |26.05.00,25.11.05 released in| | Status|Pushed to main |Pushed to stable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 --- Comment #7 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- Thanks all, pushed to 25.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42107 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wainuiwitikapark@catalyst.n | |et.nz Status|Pushed to stable |Needs documenting --- Comment #8 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Enhancement - not backporting to 25.05 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org