[Koha-devel] [not so] long is the road to 3.0

Paul POULAIN paul.poulain at free.fr
Thu Aug 11 09:20:21 CEST 2005


My work on head advances faster than I expected...

With todays commits, we can :
* ADD and MODIFY BIBLIOS and ITEMS when MARC=ON only.
* that updates the zebra database as well if you configured it 
correctly. See below how to configure the zebra for Koha. It's a 1st 
step, we will need more user-friendly tools later !
* if you query the zebrasrv with yaz-client or another z3950 client, you 
should get nice results. But still nothing if you search in Koha.
* don't try to delete a biblio or an item, you would get a nice system 
crash !

HOW TO MAKE THE ZEBRA RUN :
===========================
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that a marc21 
libraries create a marc21 directory (& commit it to cvs to share ;-) )
* 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)

-- 
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)




More information about the Koha-devel mailing list