[Koha-bugs] [Bug 11291] Change the behavior of any index in DOM indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Nov 23 01:18:38 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11291

mathieu saby <mathieu.saby at univ-rennes2.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|gmcharlt at gmail.com          |mathieu.saby at univ-rennes2.f
                   |                            |r

--- Comment #1 from mathieu saby <mathieu.saby at 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.


More information about the Koha-bugs mailing list