[Koha-bugs] [Bug 14527] zebra error 114 when searching for items added before or after a specific date

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 21 01:36:28 CEST 2015


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

--- Comment #13 from David Cook <dcook at prosentient.com.au> ---
(In reply to Pedro Ferreira from comment #11)
> Hello
>  in this demos
> http://koha-community.org/demo/
> 
> 
> the marc21 demos do not suffer from the bug
> but the unimarc demos do suffer from the bug.

I should've asked you a while ago whether you were using marc21 or unimarc, as
that has an enormous impact on how the indexing is done for items...

This indeed looks like an indexing configuration bug.

If you compare the Zebra indexing files for marc21 vs unimarc, you'll find that
the Date-of-acquisition index (ie @attr 1=32) is filled by items in MARC21 but
not by UNIMARC. In UNIMARC, the only data going into this index is from 099$c,
and I'm guessing that you don't have any data in that field in any of the
records you're indexing, which is why you're getting this 114 error.

etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl

It might be a good idea to add Fridolyn to this bug, as I'm not very familiar
with UNIMARC or how it's generally handled by Koha. 

It looks like etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl
might need a bit of an update. According to unimarc_framework_DEFAULT.sql,
995$5 is date acquired, so it should be indexed into "Date-of-acquisition" for
this search to work...

It looks like there's some weird stuff happening in
etc/zebradb/marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl as well...
like 995$3 which is use restrictions appears to be indexed as withdrawn. Also,
lots of the item data is being indexed into an 'item' index... which seems odd
to me. I suppose that's an attempt at an item-level "any" index?

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


More information about the Koha-bugs mailing list