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

mathieu saby <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff
           Assignee|[email protected]          |[email protected]
                   |                            |r

--- Comment #1 from mathieu saby <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to