[Bug 11291] New: Change the behavior of any index in DOM indexing
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 Bug ID: 11291 Summary: Change the behavior of any index in DOM indexing Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Searching Assignee: gmcharlt@gmail.com Reporter: mathieu.saby@univ-rennes2.fr QA Contact: testopia@bugs.koha-community.org The behavior of "any" index should be the same in DOM and GRS-1 indexing modes. To do so, a change must be made to the xslt stylesheet used for transforming *-koha* files to *-zebra* files. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 mathieu saby <mathieu.saby@univ-rennes2.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Assignee|gmcharlt@gmail.com |mathieu.saby@univ-rennes2.f | |r --- Comment #1 from mathieu saby <mathieu.saby@univ-rennes2.fr> --- Created attachment 23114 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23114&action=edit [PATCH] Bug 11291 : Make the any index more precise for DOM indexing Any index is generated by a template in koha-indexdefs-to-zebra.xsl. This template is applied to all fields of the record. This should be made more precise. This patch removes this template, and adds "Any:w Any:p" to the $indexes variable generated in 4 templates of of koha-indexdefs-to-zebra.xsl This patch also provides regenerated *-zebra-indexdefs.xsl files of biblio and auth of each marcflavor. To test: 1. apply the patch 2. copy the modified authority-zebra-indexdefs.xsl and biblio-zebra-indexdefs.xsl into the configuration directory of your Zebra 3. rebuild Zebra for authorities (rebuild_zebra with -a -r -v ) 4. rebuild Zebra for authorities (rebuild_zebra with -b -r -v ) 5. make some searchs in staff interface and OPAC, with simple index and specific indexes (title, author...) 6. check no index is broken 7. put some very special value (like "qwerty000") in a record, in a field NOT indexed in any specific Zebra index (it depends of your marcflavor...) 8. search this special value in simple search => you should have 0 result repeat these steps for MARC21 and UNIMARC -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 mathieu saby <mathieu.saby@univ-rennes2.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |8962 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 --- Comment #2 from mathieu saby <mathieu.saby@univ-rennes2.fr> --- Maybe that's not a so good idea ;-) Message sent to koha-devel. Mathieu -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 mathieu saby <mathieu.saby@univ-rennes2.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|8962 | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com --- Comment #3 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- I added a followup to bug 8962 to implement the anywhere index and cut down the any index for dom as per that bug. I think that mostly removes the need for this patch. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA CC| |dcook@prosentient.com.au --- Comment #4 from David Cook <dcook@prosentient.com.au> --- If I recall correctly, we're supposed to make changes to the XML then produce the requisite XSLT based on that using xsltproc. This patch just uses the XSLT. Please provide a new patch that updates the XML and post the XSLT that is created from that XML. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=8962 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 --- Comment #5 from mathieu saby <mathsabypro@gmail.com> --- Hello Martin and David as I am no longer involved in Koha development, except for a few bugs I am still watching, I won't work anymore on this bug, or bug 8962. But I hope you will find a solution for improving Koha's indexing, which is not perfect ;-) Mathieu -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=12872 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org