Commit graph

452 commits

Author SHA1 Message Date
rangi
78ab7cd0b6 Adding material-type 2006-04-01 22:42:04 +00:00
rangi
10b2315eb3 Fixing the problem that all items were getting biblioitem=1 set 2006-04-01 22:10:50 +00:00
kados
cd6a34c343 plugin directory for hybrid plugin files to ease installation. 2006-04-01 22:03:33 +00:00
kados
fd14cdd5a1 Create symlink from intranet/zebra to head zebra directory 2006-03-31 22:32:49 +00:00
kados
6a111a7471 add symlink collection.abs -> record.abs 2006-03-31 22:25:58 +00:00
kados
333781482f removing useless directories and record.abs (will be created as a symlink
to collection.abs)
2006-03-31 22:15:44 +00:00
kados
c00061f665 minor adjustment to one of the symlinks 2006-03-31 18:43:35 +00:00
kados
49145b3cba A simple script that helps sync a rel_2_2 running repo with a
head repo (ie, copies over the right files, creates some symlinks,
etc.). It's not finished yet, but getting there (I'll be testing it
extensively today and tomorrow).
2006-03-31 18:42:10 +00:00
kados
d808b1882a Script written by Tumer Garip that fixes missing 090 fields in a
MARC21 Koha database.
2006-03-31 17:51:18 +00:00
kados
000e5acafd expanding the documentation on zebra.cfg, adding separate locations
for the register and shadow files (will need to be edited by local
sys admin)
2006-03-31 17:48:16 +00:00
rangi
c1752f381e Adding any attribute, so we can do
any all "search terms"
2006-03-28 21:30:36 +00:00
rangi
8baffad586 Adding ability to do fuzzy searches 2006-03-28 21:02:48 +00:00
kados
d0711595f8 used for indexing iso2709 files 2006-03-21 23:04:42 +00:00
kados
34e5b38ac7 adding some comments as well as support for iso2709 files 2006-03-21 22:55:07 +00:00
rangi
da45493b11 Changes to get sorting working 2006-03-21 22:50:28 +00:00
kados
6d5073bfe4 adding Dewey sorting 2006-03-21 04:05:33 +00:00
kados
2540caeb9c improved collection.abs with support for sorting. 2006-03-21 03:48:38 +00:00
rangi
0d99dcf149 Testing sorting result sets 2006-03-13 23:17:26 +00:00
rangi
c929030312 isbn search 2006-03-07 21:04:27 +00:00
rangi
0274451199 Barcode search working now 2006-03-07 20:32:27 +00:00
rangi
cf91dea29a Trying to get searching on itemtypes going 2006-03-06 04:58:50 +00:00
hdl
ba75097550 A new overduenotice script to go along with overduerules
it is still UNDER CONSTRUCTION and need deep testing.
2006-02-28 17:20:29 +00:00
kados
44b4d37b54 removed Zconns, no need for them anymore with new Context.pm setup 2006-02-27 01:06:30 +00:00
kados
fafe0896d6 minor bugfix with 'commit' option 2006-02-25 23:40:59 +00:00
kados
e433decc56 adding support for ISBN search in collection.abs 2006-02-25 22:01:20 +00:00
kados
77abbe2caf A bulkmarcimport.pl that is based on the new Biblio.pm Zebra routines.
It now responds to:

-n : the number of records to import.
-commit : the number of records to wait before performing a 'commit' operation

ALSO: IMPORTANT: I took out the char_encoding as this should be handled by
MARC::File::XML now, unless I'm mistaken.
2006-02-25 21:53:48 +00:00
kados
c9afa0e243 Enable shadow registers in zebra.cfg 2006-02-25 19:00:28 +00:00
rangi
e18c22dd80 This probably will be the same file as the one in unimarc, so perhaps might be best to move them out and just into the zebra dir.
Committing now so its not lost
2006-02-21 00:10:16 +00:00
rangi
6edaf7bbe7 get_record works now 2006-02-21 00:08:41 +00:00
kados
a1d59e6633 New MARC21 collection.abs based on marc21.abs 2006-02-16 00:46:10 +00:00
kados
1f2014e73f Fixing zebra.cfg for usmarc 2006-02-14 22:49:44 +00:00
kados
2017a41f0b adding some config stuff for usmarc 2006-02-14 22:49:08 +00:00
tipaul
f74823bf1b OK, this time it seems to work. The last blocking problem was... a space in
recordId: (bib1,Identifier-standard) just after the comma. Adam agreed it was a bug, and it should be solved soon. But now we are aware, we can avoid putting the space !

In this commit you have all what is needed to setup a working zebra DB in Unimarc :
* collection.abs is UNIMARC specific and must be rewritten for MARC21, in marc21 directory
* pdf.properties is to be copied unmodified in the marc21 directory (can also be put somewhere else)
* rebuild_zebra.pl is SLOW, but 1 step reindexing tool, using ZOOM
* rebuild_zebra_idx is FAST, but 2 step reindexing tool, and does not use zebra. run it, it will create all biblios XML files in /zebra/biblios directory, then zebraidx update biblios in your zebra directory
* zebra.cfg is the zebra config file ;-)
* test_cql2rpn.pl is a script that will query the database and show the results. Works for me, just change the query at the beginning to get answers you expect.

What has to be done :
* benchmarking : it seems the zebraidx update is faster than lightning (400biblios/sec : 10 000biblios in 25seconds), while ZOOM indexing is slow (something like 25biblios/second) More benchmarking could be done.
* completing collection.abs for UNIMARC. I'll take care of it.
* modifying Biblio.pm to use ZOOM instead of the "zebraidx through exec" running actually. I'll take care of it also.
* modify the search API & tools & screens. I'll let the ball to someone else (chris ?) for this. I agree SearchMarc.pm can be dropped and replaced by something else (maybe a new-and-clean Search.pm package)
2006-02-09 10:59:34 +00:00
tipaul
369ee65d94 new version of rebuild_zebra. Should work with Perl-ZOOM, but DOES NOT WORK for me.
I get  :
ZOOM error 10002 "Encoding failed" from diag-set 'ZOOM'

help expected from indexdata...
2006-01-10 17:03:32 +00:00
tipaul
d8e4043f88 some modifs in zebra unimarc config files 2006-01-10 17:01:55 +00:00
tipaul
d5938493d7 synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
2006-01-06 16:39:37 +00:00
kados
8b2316640b Fixed wrong path for tab file. 2005-12-11 04:09:56 +00:00
kados
efbd8b407c Fixing wrong mapping for biblionumber should be 090$c not 090$9 2005-12-11 04:09:29 +00:00
kados
67134b5feb Adding usmarc zebra configuration files. 2005-12-11 00:57:08 +00:00
tipaul
e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
tipaul
11337d7ef4 minor change in UNIMARC zebra.cfg 2005-08-12 13:58:08 +00:00
tipaul
dba37f38e7 This script can be use to rebuild the zebra DB. It stores all koha MARC records in iso2709, in the bilbios directory. After that, you just have to "zebraidx update biblios"
I tried on a 9900 DB, here are the results :

[paul@bureau migration_tools]$ ./rebuild_zebra.pl -c
9900
9903 MARC record done in 37.9104120731354 seconds

[paul@bureau zebra]$ zebraidx update biblios
<snip>
18:31:24-11/08 zebraidx(20348) [log] Iterations . . . 144575
18:31:24-11/08 zebraidx(20348) [log] Distinct words .  39891
18:31:24-11/08 zebraidx(20348) [log] Updates. . . . .     46
18:31:24-11/08 zebraidx(20348) [log] Deletions. . . .      2
18:31:24-11/08 zebraidx(20348) [log] Insertions . . .  39843
18:31:24-11/08 zebraidx(20348) [log] zebra_register_close p=0x8104cf8
18:31:25-11/08 zebraidx(20348) [log] Records:    9887 i/u/d 9881/6/0
18:31:25-11/08 zebraidx(20348) [log] user/system: 531/145
18:31:25-11/08 zebraidx(20348) [log] zebra_stop
18:31:25-11/08 zebraidx(20348) [log] zebraidx times: 11.33  5.31  1.45
2005-08-11 16:35:54 +00:00
tipaul
9a508fe3df 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)
2005-08-11 16:12:47 +00:00
tipaul
c52e5b61dd synch'ing 2.2 and head 2005-08-04 14:10:52 +00:00
tipaul
86438403bd some parameter files for zebra for UNIMARC. Just for testing & sharing purposes for instance. 2005-06-27 13:13:17 +00:00
slef
30a17190d9 perldoc and prototype updates 2005-06-24 12:19:34 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
tipaul
4cdb643e3e new version, doing tag by tag. Should be slower, but requires a lot less memory 2005-06-01 18:55:08 +00:00
tipaul
b79bc88f4b new version, doing tag by tag. Should be slower, but requires a lot less memory 2005-06-01 18:47:38 +00:00
slef
113a1f8f50 possible fix for shell characters in kohaadmin user and database names 2005-05-27 13:33:42 +00:00