[Koha] Searching in Arabic

Jesse Lambertson jlambertson at sqcc.org
Fri Nov 13 04:20:18 NZDT 2015


Zeno,

Grazie for the information you sent.

I do, however, have one more question regarding this:
http://wiki.koha-community.org/wiki/How_to_add_new_zebra_index

It was posted by someone who was also in need of adding non-default index
fields to the list.

Does anyone know anything about the steps as suggested there or do we
really need to rework the whole thing because of the Arabic and the
linkages to their respective fields?

Shukran, grazie, Danke and merci...

Jesse

On Thu, Nov 12, 2015 at 10:05 AM, Tajoli Zeno <z.tajoli at cineca.it> wrote:

> 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)
>



-- 
Jesse A Lambertson
Librarian
Sultan Qaboos Cultural Center <http://www.sqcc.org/>

Ph: (202)-677-3967 Ext. 104
jlambertson at sqcc.org
عالم الانجازات ينحاز دوماً مع المتفائلين


More information about the Koha mailing list