[Bug 25054] New: Document and allow customization of search index shortcuts in Search Engine Configuration
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Bug ID: 25054 Summary: Document and allow customization of search index shortcuts in Search Engine Configuration Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: andrew@bywatersolutions.com It'd be great if the Search Engine Config page in ES would document the various shortcuts available (ti for title, sn for local number, etc). Even better would be an interface to allow local creation of custom shortcuts. Maybe this could be a column added to the two mappings tabs to allow the definition of aliases? The hardcoded default aliases could be populated there in the default mapping? -- 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=25054 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- I try to create code to at least display aliases in search fields table. -- 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=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |fridolin.somers@biblibre.co |ity.org |m --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- I propose a patch to display. So I change bug title. Allowing alias edition might be a lot of work so we should do it in another bug report. -- 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=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Document and allow |Display search index |customization of search |aliases in Search Engine |index shortcuts in Search |Configuration |Engine Configuration | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #3 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 113543 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113543&action=edit Bug 25054: Display search index aliases in Search Engine Configuration It'd be great if the Search Engine Configuration page would display the various aliases (shortcuts) available : ti for title, sn for local-number, etc. Patch changes Koha/SearchEngine/Elasticsearch/QueryBuilder.pm to move hard-coded vars at the beging and adds a method to provide to %index_field_convert via a method. Test plan : 1) Use Elasticsearch 2) Go to Administration > Search engine configuration (Elasticsearch) 3) Check you see new column 'Aliases' with for example ti for title. 4) Perform a search 'ti:<title>' and check you get results -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Display search index |Display search field |aliases in Search Engine |aliases in Search Engine |Configuration |Configuration -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #113543|0 |1 is obsolete| | --- Comment #4 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 113544 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113544&action=edit Bug 25054: Display search field aliases in Search Engine Configuration It'd be great if the Search Engine Configuration page would display the various aliases (shortcuts) available : ti for title, sn for local-number, etc. Patch changes Koha/SearchEngine/Elasticsearch/QueryBuilder.pm to move hard-coded vars at the beging and adds a method to provide to %index_field_convert via a method. Test plan : 1) Use Elasticsearch 2) Go to Administration > Search engine configuration (Elasticsearch) 3) Check you see new column 'Aliases' with for example ti for title. 4) Perform a search 'ti:<title>' and check you get results -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #5 from Fridolin Somers <fridolin.somers@biblibre.com> --- replaces in bug title 'search index' by 'search field'. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |severine.queune@bulac.fr --- Comment #6 from Séverine Queune <severine.queune@bulac.fr> --- I'm surprised by alias 'callnum' associate to 'local-classification' instead of 'Call-Number'. Is it really the link we're supposed to use ? Except that point, everything works fine ! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- (In reply to Séverine Queune from comment #6)
I'm surprised by alias 'callnum' associate to 'local-classification' instead of 'Call-Number'. Is it really the link we're supposed to use ? Except that point, everything works fine !
There is no field named 'Call-Number' in ES nor Zebra. In Zebra ccl.properties we also have : 'callnum' and 'lcn' aliases of 'Local-classification' -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #8 from Séverine Queune <severine.queune@bulac.fr> --- (In reply to Fridolin Somers from comment #7)
(In reply to Séverine Queune from comment #6)
I'm surprised by alias 'callnum' associate to 'local-classification' instead of 'Call-Number'. Is it really the link we're supposed to use ? Except that point, everything works fine !
There is no field named 'Call-Number' in ES nor Zebra. In Zebra ccl.properties we also have : 'callnum' and 'lcn' aliases of 'Local-classification'
Oups... Probably a local one... Sorry for that, I just need to sign it then ! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Séverine Queune <severine.queune@bulac.fr> 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=25054 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #113544|0 |1 is obsolete| | --- Comment #9 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 113646 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113646&action=edit Bug 25054: Display search field aliases in Search Engine Configuration It'd be great if the Search Engine Configuration page would display the various aliases (shortcuts) available : ti for title, sn for local-number, etc. Patch changes Koha/SearchEngine/Elasticsearch/QueryBuilder.pm to move hard-coded vars at the beging and adds a method to provide to %index_field_convert via a method. Test plan : 1) Use Elasticsearch 2) Go to Administration > Search engine configuration (Elasticsearch) 3) Check you see new column 'Aliases' with for example ti for title. 4) Perform a search 'ti:<title>' and check you get results Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #113646|0 |1 is obsolete| | --- Comment #10 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 115099 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115099&action=edit Bug 25054: Display search field aliases in Search Engine Configuration It'd be great if the Search Engine Configuration page would display the various aliases (shortcuts) available : ti for title, sn for local-number, etc. Patch changes Koha/SearchEngine/Elasticsearch/QueryBuilder.pm to move hard-coded vars at the beging and adds a method to provide to %index_field_convert via a method. Test plan : 1) Use Elasticsearch 2) Go to Administration > Search engine configuration (Elasticsearch) 3) Check you see new column 'Aliases' with for example ti for title. 4) Perform a search 'ti:<title>' and check you get results Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 115100 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115100&action=edit Bug 25054: (QA follow-up) Add space after comma for multiple aliases Just a little formatting change to help readability by adding a space after comma: alias1, alias2, ... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Display search field |Display search field |aliases in Search Engine |aliases in search engine |Configuration |configuration -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #12 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- This is the thing I constantly keep looking up. So I think this is quite helpful as a first step! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This adds a new column release notes| |aliases to the search | |fields tabs of the search | |engine configuration table. | |The aliases table shows the | |abbreviated and alternative | |index names available for | |each defined index. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |21.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=25054 --- Comment #13 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 21.05, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Pushed to stable Version(s)|21.05.00 |21.05.00,20.11.02 released in| | --- Comment #14 from Fridolin Somers <fridolin.somers@biblibre.com> --- Small enhancement, I choose to backport. Pushed to 20.11.x for 20.11.02 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 --- Comment #15 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Is an enhancement and doesn't apply cleanly to 20.05. Not backporting, but please ask/rebase if needed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25054 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Manual CC| |caroline.cyr-la-rose@inlibr | |o.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org