Re: [Koha-devel] Koha Zebra Reindexing
An update to my tale. So far, ive managed to get my new field indexed, and searcing via @attr in yazclient works. I have no knowledge of CCL, and help files on its syntax seem to be nonexistant. What Ive done is put it in ccl.properties appropiately, so jn is Journal-number and Journal-number 1=9903 .... how do i do a 'not' on jn in ccl? ----- Original Message ---- From: Waylon Robertson <wrobertson1981@yahoo.co.nz> To: Chris Cormack <chris@bigballofwax.co.nz>; Arturo Ochoa <arturo8a@gmail.com> Cc: koha-devel@lists.koha.org Sent: Sat, 28 November, 2009 10:04:25 PM Subject: Re: [Koha-devel] Koha Zebra Reindexing Hi, Im back in the flow as it were, working on Koha... getting paid for it too. So, naturally, this question uncannily came up just today. Co-incidence? -shrug- Anyway, please read http://koha.org/documentation/manual/3.2/searching/guide-to-searching/indexi... for hints on altering the configuration. I haven't gotten as far as reindexing yet, lost connection to my devel server, but logically, It should work. ----- Original Message ---- From: Chris Cormack <chris@bigballofwax.co.nz> To: Arturo Ochoa <arturo8a@gmail.com> Cc: koha-devel@lists.koha.org Sent: Fri, 27 November, 2009 8:08:59 AM Subject: Re: [Koha-devel] Koha Zebra Reindexing 2009/11/27 Arturo Ochoa <arturo8a@gmail.com>:
Hi Guys,
Im using MARC21
When i tried to reindexing with rebuild_zebra.pl, everythings looks to be fine,but zebra is doesn't reindexing the fields 710,711 that corresponds to a CORPO_NAME,MEETI_NAME. For example, i have a secondary author named "Universidad Nacional de Ingenieria", and i assign it to a book in the field 710 because it's a CORPO NAME. The link appears correctly in OPAC normal view of the book, but when you click on it, opac tries to search "an:11143" that isn't works and not returns any results.
But, this works correctly with PERSO_NAME in the field 700. So, i think that zebra isn't indexing/reindexing the fields 710,711 from a biblio record. Then, any people can give me a solution for this? or maybe a way to change the fields that zebra is reindexing now? (i think it's from 'marc_subfield_structure' table).
Hi Arturo You are on the right track, but it isn't the marc_subfield_structure table you need to edit, rather you need to edit the zebra config files. etc/zebradb/marc_defs/marc21/biblios/record.abs is one, and I'm not sure if you need to edit something else. Hopefully someone more knowledgeable about zebra configs will help Chris _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
Waylon Robertson wrote:
An update to my tale. So far, ive managed to get my new field indexed, and searcing via @attr in yazclient works. I have no knowledge of CCL, and help files on its syntax seem to be nonexistant. What Ive done is put it in ccl.properties appropiately, so jn is Journal-number and Journal-number 1=9903 .... how do i do a 'not' on jn in ccl?
In zebra, Not is a binary operation as far as i know. So in order to use a not you have to do it inside a query. Or use a query like : allrecords,alwaysMatches="" not (jn=....) -- Henri-Damien LAURENT BibLibre
Hi guys, finally it works! I needed to change this: melm 710 Author,Corporate-name #melm 710$t author,Author-title,Name-and-title,Title,Title-uniform melm 710$t Author-title,Name-and-title,Title,Title-uniform #melm 710$a author,author:p,Name-and-title melm 710$a Name-and-title melm 710$9 Koha-Auth-Number #melm 710 author,Name melm 710 Author,Name to this . melm 710$t Author-title,Name-and-title,Title,Title-uniform melm 710$a Name-and-title melm 710$9 Koha-Auth-Number melm 710 Author,Corporate-name in /etc/koha/zebradb/marc_defs/marc21/biblios/records.abs But, now i have another problem =( I have this authority (for example) Authority #1786 (Autor Personal) Used in 0 records<http://127.0.1.1/cgi-bin/koha/opac-search.pl?type=opac&q=1786&idx=an> *001 - CONTROL NUMBER* @ control field 1786 *003 - CONTROL NUMBER IDENTIFIER * @ control field OSt *005 - DATE AND TIME OF LATEST TRANSACTION* @ control field 20090618102930.0 *008 - FIXED-LENGTH DATA ELEMENTS* @ fixed length control field 090618|| aca||aabn | a|a d *040 ## - CATALOGING SOURCE* a Original cataloging agency OSt *100 ## - HEADING--PERSONAL NAME* a Personal name Venero Baldeon, J. Armando *400 ## - SEE FROM TRACING--PERSONAL NAME* a Personal name Venecio, Armando venecilourdes venectonto And, in authority search ("Browse by Subject<http://127.0.1.1/cgi-bin/koha/opac-authorities-home.pl>") when i put "venero" on Personal name, Main Entry, it works and return this: Authority search results *Results 1 to 2 of 2* Authorized Headings Type of Heading Biblio records Full Heading Venero Baldeon, J. Armando *used for/see from:* Venecio, Armando venecilourdes venectonto<http://127.0.1.1/cgi-bin/koha/opac-authoritiesdetail.pl?authid=1786> 0 biblios<http://127.0.1.1/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=1786> View Full Heading<http://127.0.1.1/cgi-bin/koha/opac-authoritiesdetail.pl?authid=1786> Venero de Lutgardo, R. Isabel<http://127.0.1.1/cgi-bin/koha/opac-authoritiesdetail.pl?authid=8258> 7 biblios<http://127.0.1.1/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=8258> View Full Heading<http://127.0.1.1/cgi-bin/koha/opac-authoritiesdetail.pl?authid=8258> It's ok, but.. when i put "venero" on Personal name, Anywhere it doesn't work. No results found =( I think "Anywhere" is not working for anything =/. ¿Its a bug? So, I need that when a user enters "Venecio" or "Armando" or "venecilourdes" or "venectonto" in "Anywhere", the author found 1786 and others. (Bone, also index fields 400 and others). Any ideas? =/
participants (3)
-
Arturo Ochoa -
LAURENT Henri-Damien -
Waylon Robertson