Koha/etc/zebradb
Jared Camins-Esakov e56a0a0e62 Bug 8620: Any index in DOM mode sensitive to -x flag of rebuild_zebra.pl
The definition of the Any index was sensitive to whether
spaces were present between (say) subfield elements in the
MARCXML representation of the bib being indexed.  When using
the -x option to rebuild_zebra.pl, spaces would be present
because of how MARC::File::XML emits MARCXML.

When not using the -x option, spaces would not be present
and the contents of a field would be run together, potentially
as one big token.

The visible behavior was that doing a keyword search by
item barcode would sometimes not work.

To test:
0) Make sure Zebra is using DOM mode
1) Create an item record.
2) Reindex using rebuild_zebra.pl -b -z, *without* -x
3) Do a keyword search by the barcode of the item just
   added; the search shouldn't work
4) Apply patch.
5) Update the following two files:
    etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
    etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
6) Reindex
7) Do a search that was previously failing.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes the problem for me - formerly not working callnumbers
and barcodes are now found in keyword (any) searches.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(revised commit description to better explain why it fixes the problem)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Passes all my tests, happy to sign off
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-07 09:19:43 -05:00
..
authorities/etc Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
biblios/etc Bug 7818: -x option of rebuild_zebra.pl now works with DOM filter 2012-06-09 11:44:09 +02:00
etc Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
lang_defs Bug 7838 - Add sort-string-utf.chr for Ukrainian and Russian 2012-04-12 17:23:53 +02:00
marc_defs Bug 8620: Any index in DOM mode sensitive to -x flag of rebuild_zebra.pl 2013-03-07 09:19:43 -05:00
xsl Bug 8620: Any index in DOM mode sensitive to -x flag of rebuild_zebra.pl 2013-03-07 09:19:43 -05:00
ccl.properties Bug 9552 - BIB1 Relation "Greater Than" Attribute Not Mapped Properly in CCL.Properties 2013-02-07 00:20:42 -05:00
cql.properties Add more zebra configuration 2007-10-01 15:34:16 -05:00
explain-authorities.xml Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
explain-biblios.xml Bug 5370: Fix all references to koha.org 2010-11-09 10:45:27 +13:00
pqf.properties fixing a couple mappings for SRU CQL server 2008-01-03 03:01:14 -06:00
retrieval-info-auth-dom.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
retrieval-info-auth-grs1.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
retrieval-info-bib-dom.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
retrieval-info-bib-grs1.xml Bug 3087 Fix Z39.50 server to return the correct record syntax 2012-10-22 14:12:22 +02:00
zebra-authorities-dom.cfg fixing anonymous permissions access to zebra via Z39.50 2008-04-24 13:38:21 -05:00
zebra-authorities.cfg fixing anonymous permissions access to zebra via Z39.50 2008-04-24 13:38:21 -05:00
zebra-biblios-dom.cfg Bug 7818: update installer for biblio DOM indexing 2012-06-09 11:43:56 +02:00
zebra-biblios.cfg Bug 7041: Sort >1000 search results with sortmax parameter in zebra config file 2011-12-03 08:15:34 +01:00