[Koha] Searching in Arabic

Tajoli Zeno z.tajoli at cineca.it
Fri Nov 13 04:05:48 NZDT 2015


Hi Jesse,


Il 12/11/2015 15:16, Jesse Lambertson ha scritto:
> I think this is because 880 is not in the default indexing list.
> It seems to me that associated linked 880 fields for title (245), author(
> 100 and 700) as well as series (490 and 830) should return results searched
> in Arabic as long as we add 880 to the list.
>
> Am I incorrect in that assumption?

No, sorry.
You assumption is correct.
You need to change the default indexing setup to index your 880 that are 
probably like:
880 10$6245-01/(3/r$a[Arabic chars]

I suggest you to open a bug here:
http://bugs.koha-community.org/bugzilla3/
with description of the problem and 10-20 records from your catalogue to 
do test.

Do you want to try to fix your self ?
Well, you need to understand how indexing works with Zebra.

Start on chapter 13 of the manual:
http://translate.koha-community.org/manual/3.20/en/searching.html

Read the basic on Zebra documentation:
http://www.indexdata.com/zebra/doc/record-model-domxml.html
(Tip: configuration language of the files is XSLT, so you need to learn 
a basic of it).

The 3 basic files are:
etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl
etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl

The real working file is biblio-zebra-indexdefs.xsl
In its head you can read:
<!--
This file has been automatically generated from a Koha index definition 
file with the stylesheet koha-indexdefs-to-zebra.xsl. Do not manually 
edit this file,as it may be overwritten. To regenerate, edit the 
appropriate Koha index definition file (probably something like 
{biblio,authority}-koha-indexdefs.xml) and run: `xsltproc 
koha-indexdefs-to-zebra.xsl {biblio,authority}-koha-indexdefs.xml > 
{biblio,authority}-zebra-indexdefs.xsl` (substituting the appropriate 
file names).
-->

You probaly need to backport this fix from master to 3.20:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14217

and insert many condition in biblio-koha-indexdefs.xml about 880 with 
specific values in $6

Not an easy work.

Bye
Zeno Tajoli





-- 
Zeno Tajoli
/Dipartimento Sviluppi Innovativi/ - Automazione Biblioteche
Email: z.tajoli at cineca.it Fax: 051/6132198
*CINECA* Consorzio Interuniversitario - Sede operativa di Segrate (MI)


More information about the Koha mailing list