[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc/zebra/unimarc unimarc.abs,1.1,1.2 zebra.cfg,1.
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/misc/zebra/unimarc unimarc.abs,1.1,1.2 zebra.cfg,1.1,1.2 |
Date: |
Thu, 11 Aug 2005 09:12:50 -0700 |
Update of /cvsroot/koha/koha/misc/zebra/unimarc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32515/misc/zebra/unimarc
Modified Files:
unimarc.abs zebra.cfg
Log Message:
Playing with the zebra...
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that marc21 libraries
create a marc21 directory
* put your zebra.cfg files here & create your database.
* from koha cvs home directory, ln -s misc/zebra/marc21 zebra (I mean create a
symbolic link to YOUR zebra directory)
* now, everytime you add/modify a biblio/item your zebra DB is updated
correctly.
NOTE :
* this uses a system call in perl. CPU consumming, but we are waiting for
indexdata Perl/zoom
* deletion still not work
* UNIMARC zebra config files are provided in misc/zebra/unimarc directory. The
most important line being :
in zebra.cfg :
recordId: (bib1,Local-number)
storeKeys:1
in .abs file :
elm 090 Local-number -
elm 090/? Local-number -
elm 090/?/9 Local-number !:w
(090$9 being the field mapped to biblio.biblionumber in Koha)
Index: unimarc.abs
===================================================================
RCS file: /cvsroot/koha/koha/misc/zebra/unimarc/unimarc.abs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** unimarc.abs 27 Jun 2005 13:13:17 -0000 1.1
--- unimarc.abs 11 Aug 2005 16:12:47 -0000 1.2
***************
*** 27,29 ****
--- 27,33 ----
elm 210/?/d Date-of-publication !:w
+ elm 090 Local-number -
+ elm 090/? Local-number -
+ elm 090/?/9 Local-number !:w
+
Index: zebra.cfg
===================================================================
RCS file: /cvsroot/koha/koha/misc/zebra/unimarc/zebra.cfg,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** zebra.cfg 27 Jun 2005 13:13:17 -0000 1.1
--- zebra.cfg 11 Aug 2005 16:12:47 -0000 1.2
***************
*** 4,8 ****
#
# Where are the config files located?
! profilePath: ${srcdir:-.}:${srcdir:-.}/../tab
# Files that describe the attribute sets supported.
--- 4,9 ----
#
# Where are the config files located?
! profilePath: ${srcdir:-.}:/usr/local/share/idzebra/tab/
! #:${srcdir:-.}/../tab
# Files that describe the attribute sets supported.
***************
*** 10,13 ****
--- 11,16 ----
attset: explain.att
+ recordId: (bib1,Local-number)
+
# Specify record type
recordType: grs.marc.unimarc
***************
*** 24,25 ****
--- 27,32 ----
# Approx. Memory usage during indexing
memMax: 4
+
+ storeKeys:1
+ storeData:1
+
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/zebra/unimarc unimarc.abs,1.1,1.2 zebra.cfg,1.1,1.2,
Paul POULAIN <=