[Bug 30817] New: Make build_authorities_query takes QueryAutoTruncate system preference into account
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30817 Bug ID: 30817 Summary: Make build_authorities_query takes QueryAutoTruncate system preference into account Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: alex.arnaud@biblibre.com Currently authorities search (contains) queries are always truncated using SearchEngine::Elasticsearch::QueryBuilder::_truncate_terms. Truncating queries could have some negative effects on search results (i.e relevance). An interesting test plan could be: - Enable Elasticsearch search engine, - make sure you have some authorities with the following heading-main content: "jean-Charles", "Jean", "Charles", "Jean Foo", "Foo Jean", "Jean Charles" - launch the following search: Main heading contains "jean-Charles" sort by "none" - Authority with heading-main "jean-Charles" should have the highest relevance score. But this is not the case. The score seems to be altered by the wildcard. Patch is coming. -- 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=30817 --- Comment #1 from Alex Arnaud <alex.arnaud@biblibre.com> --- Created attachment 135231 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=135231&action=edit Bug 30817: make build_authorities_query takes QueryAutoTruncate system preference into account -- 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=30817 Alex Arnaud <alex.arnaud@biblibre.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=30817 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- Sounds logical to me. Maybe create new options for the system preference : none, biblios, authorities, both. -- 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=30817 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |alex.arnaud@biblibre.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=30817 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |magnus@libriotech.no --- Comment #3 from Magnus Enger <magnus@libriotech.no> --- (In reply to Fridolin Somers from comment #2)
Sounds logical to me. Maybe create new options for the system preference : none, biblios, authorities, both.
I agree with Fridolin. You might want to have different auto truncate for biblios and auth search. So either - more choices, as Fridolin says, or - a whole new syspref, something like QueryAutoTruncateAuth -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org