[Koha] Title search in KOHA

Katrin Fischer katrin.fischer.83 at web.de
Wed Sep 27 18:46:23 NZDT 2017


Hi Nikes,

record.abs is no longer used since we switched to DOM indexing. You will 
have to edit the .xsl files.

This wiki page might be helpful:

https://wiki.koha-community.org/wiki/How_to_add_new_zebra_index

Hope this helps,

Katrin


On 25.09.2017 10:47, nikesh wrote:
> Thanks Karam. You are right. System pulls title from all the occurrences
> like tag 245, 505 and probably more when you search for title. That make
> sense to include 505 in title search as it deals with table of
> contents.Series is also a part of title search.  My issue is to remove
> statement of responsibility from the title search. So i think I need to
> identify all the statement of responsibility field which is associated to
> title in different fields like 245 , 505 etc. and remove them from zebra
> indexing. I will test it in our test server and see how it works. Actually
> we migrated from Millennium and title search pulls out only those records
> with search words in title only (including title, series, table of contents
> etc). So users complained about this strange behavior in KOHA.. This is not
> only our case , but appear in all KOHA default implementations.
>
> Regards
> Nikes
>
> *Nikesh Narayanan *I Systems & e-Librarian I
>
> Khalifa University of Science, Technology and Research
> <http://www.kustar.ac.ae/>
>
> PO Box 127788, Abu Dhabi, UAE
>
> Mobile : +971507097346
>
>
>
>
> On 25 September 2017 at 12:15, Karam Qubsi <karamqubsi at gmail.com> wrote:
>
>> Hi ,
>>
>> I didn't test that before , but I think you need to remove every
>> occurrence of the word "TITLE:x" in that mapping file except the one you
>> want ( 245a )
>>
>> after that you need to rebuild your zebra
>> <https://wiki.koha-community.org/wiki/Commands_provided_by_the_Debian_packages#koha-rebuild-zebra>index
>> ,
>>
>> ( I'm not really sure that this is all you need to do )  so I don't advice
>> you to try that on a production server
>>
>> as I mentioned to you, your problem is not only in the responsibility
>> field ( 245c) it is with every occurrence of "TITLE" index .
>> in the example url that I sent to you there is no mention to Shakespeare
>> in 245c at all ,
>> https://opac.kustar.ac.ae/cgi-bin/koha/opac-MARCdetail.pl?
>> biblionumber=32490
>>
>> 245 1 4 *_a*The machine in the garden :
>> *_b*technology and the pastoral ideal in America /
>> *_c*Leo Marx.
>>
>> but in 505 :
>> 505 0 0 *_g*I.
>> *_t*Sleepy Hollow, 1844 --
>> *_g*II.
>> *_t*Shakespeare's American Fable --
>> *_g*III.
>>
>>
>> and that record was the first result in the search query
>> <https://opac.kustar.ac.ae/cgi-bin/koha/opac-search.pl?idx=ti&q=shakespeare>you
>> suggested .
>>
>> Best wishes .
>>
>>
>>
>>
>>
>> On Mon, Sep 25, 2017 at 2:59 AM, nikesh <nikeshn at gmail.com> wrote:
>>
>>> Many thanks Karam. I don't know much about Zebra indexing and how it
>>> works. But  I have one doubt regarding this.
>>>
>>> Tag 505 represent formatted content. Actually when we limit to title, it
>>> should take only from Tag 245 .
>>>
>>> Tag 245 indexing are given as follows in the document
>>>
>>>
>>> melm 245$a      Title-cover:w,Title-cover:p,Ti
>>> tle-cover:s,Title:w,Title:p,Title:s
>>>
>>> melm 245$c      Author,Author-in-order:w,Autho
>>> r-in-order:p,Author-in-order:s
>>>
>>> melm 245$9      Cross-Reference:w,Koha-Auth-Number
>>>
>>>
>>>
>>> If I remove  245$c  and 245 $9 ,from Zebra indexing, would that solve the
>>> issue ?
>>>
>>>
>>> Best regards
>>>
>>>
>>> Nikesh
>>>
>>>
>>>
>>> *Nikesh Narayanan *I Systems & e-Librarian I
>>>
>>> Khalifa University of Science, Technology and Research
>>> <http://www.kustar.ac.ae/>
>>>
>>> PO Box 127788, Abu Dhabi, UAE
>>>
>>> Mobile : +971507097346 <+971%2050%20709%207346>
>>>
>>>
>>>
>>>
>>> On 24 September 2017 at 20:46, Karam Qubsi <karamqubsi at gmail.com> wrote:
>>>
>>>> Hi Nikesh ,
>>>> You may check this file for mappings :
>>>> https://github.com/Koha-Community/Koha/blob/master/etc/zebra
>>>> db/marc_defs/marc21/biblios/recorad.abs
>>>>
>>>> I've tested some of your results and as I understand from that mapping
>>>> the results are correct according to mappings there
>>>> for example this record from your results :
>>>> https://opac.kustar.ac.ae/cgi-bin/koha/opac-MARCdetail.pl?bi
>>>> blionumber=32490
>>>> Marc file has :
>>>> 505 0 0 *_g*I.
>>>> *_t*Sleepy Hollow, 1844 --
>>>> *_g*II.
>>>> *_t*Shakespeare's American Fable --
>>>>
>>>> if you checked that mentioned mapping and exactly this line ( for 505t)
>>>> :
>>>>
>>>> https://github.com/Koha-Community/Koha/blob/b4e525e4f6382a421cb7e77632fca8ecaaf8f3d6/etc/zebradb/marc_defs/marc21/biblios/record.abs#L158
>>>>
>>>>
>>>>
>>>> you will find it was mapped to title
>>>>
>>>> Please consider that marc standards has other places that holds title
>>>> related field.
>>>>
>>>> if you believe that some of those mappings were wrong please let the
>>>> community know about that .
>>>>
>>>> *Best wishes *
>>>>
>>>> On Sun, Sep 24, 2017 at 10:32 PM, nikesh <nikeshn at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Author results also appears when I limit my search to title only. I
>>>>> think
>>>>> it appears because KOHA indexing treats statement of responsibility as
>>>>> part
>>>>> of title. How can I edit zebra indexing to get rid of that ?
>>>>>
>>>>>
>>>>> Example : I searched for Shakespeare in Title but document with
>>>>> Shakespeare
>>>>> as an Auhtor also appear in the search result. Please see the link
>>>>> below.
>>>>>
>>>>>
>>>>> https://opac.kustar.ac.ae/cgi-bin/koha/opac-search.pl?idx=ti
>>>>> &q=shakespeare
>>>>>
>>>>> Best regards
>>>>>
>>>>> Nikesh
>>>>>
>>>>> *Nikesh Narayanan *I Systems & e-Librarian I
>>>>>
>>>>> Khalifa University of Science, Technology and Research
>>>>> <http://www.kustar.ac.ae/>
>>>>>
>>>>> PO Box 127788, Abu Dhabi, UAE
>>>>>
>>>>> Mobile : +971507097346
>>>>> _______________________________________________
>>>>> Koha mailing list  http://koha-community.org
>>>>> Koha at lists.katipo.co.nz
>>>>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>>>>
>>>>
>>>>
>>>> --
>>>> ​*Karam Qubsi*
>>>>
>>>>
>>
>> --
>> ​*Karam Qubsi*
>>
>>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list