[Koha-bugs] [Bug 12872] Exclude limited number of fields from Zebra DOM indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 4 14:10:54 CEST 2014


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31366|0                           |1
        is obsolete|                            |

--- Comment #3 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 31367
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31367&action=edit
Bug 12872: Exclude limited number of fields from Zebra DOM indexing

This is a pragmatic approach to exclude some fields from the Any index.
The index_all routine in koha-indexdefs-to-zebra.xsl is renamed to
index_most and includes a choose-when construct to exclude some
fields from indexing.
This seems a simpler approach than removing this routine and adding Any
almost anywhere :)

Test plan:
Put some uncommon string like jh234gj23 into 952$e somewhere.
Copy the xsl file to your Zebra indexing folders.
Run the xsl to produce a new biblio-zebra-indexdefs.xsl.
Restart Zebra and reindex.
Check if you can still find the uncommon word.
Now uncomment the line in koha-indexdefs-to-zebra.xsl.
Rerun the xsl, restart and reindex.
You should not find the uncommon word in the added 952$e.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list