Commit graph

3950 commits

Author SHA1 Message Date
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
rangi
fd31a3c40a fixing links from acqui.simple to cataloguing 2006-02-09 03:26:03 +00:00
rangi
b17260d1b8 Changing to reflect the fact acqui.simple is now cataloguing 2006-02-09 03:20:38 +00:00
rangi
08107e0d76 Fixing broken code to show list of branches 2006-02-09 03:12:23 +00:00
rangi
bc51b60c26 Hmm there seem to be quite a few subroutines twice in this module....
Paul could you take a look and remove the ones that shouldnt be there please
2006-02-09 01:56:20 +00:00
rangi
f08260c860 Cleaning up some unessecary my statements 2006-02-09 01:52:14 +00:00
rangi
55028b3979 Commenting out a line that was preventing the script executing 2006-02-09 01:26:16 +00:00
tipaul
8513397f42 updating DB :
* removing useless tables
* adding useful indexes
* altering some columns definitions
* The goal being to have updater working fine for foreign keys.

For me it's done, let me know if it works for you. You can see an updated schema of the DB (with constraints) on the wiki
2006-01-25 15:16:06 +00:00
tipaul
4ae498ae24 DB improvements : adding foreign keys on some tables. partial stuff done. 2006-01-24 17:57:17 +00:00
tipaul
362e760a86 just adding menus to the top 2006-01-20 16:12:49 +00:00
tipaul
c5521d18cc updating prog templates for acqui 2006-01-20 16:04:42 +00:00
tipaul
96949c55f9 moving serials scripts to serials directory 2006-01-19 12:50:07 +00:00
tipaul
ef71641736 moving cataloguing scripts to a cataloguing directory (more logic than acqui.simple !!!) & updating prog templates 2006-01-19 12:48:00 +00:00
tipaul
247e04d204 templating serials & moving them to a serials directory, more self-explanatory (bull being french) 2006-01-19 12:46:58 +00:00
tipaul
91e99db992 prog templates : completed, fixed & xhtml valid 2006-01-18 17:23:32 +00:00
tipaul
e81b8d5bae prog templates : completed, fixed & xhtml valid 2006-01-18 15:38:17 +00:00
tipaul
86a9c7fb9f bugfixes xhtml & prog templates 2006-01-18 14:52:07 +00:00
tipaul
071a33b664 removing unused scripts 2006-01-17 16:58:36 +00:00
tipaul
e80db037cb moving stats.pl to reports directory 2006-01-17 16:58:07 +00:00
tipaul
d08400842e removing unused script 2006-01-17 16:54:54 +00:00
tipaul
7778b05264 moving reserves scripts to reserve directory 2006-01-17 16:51:05 +00:00
tipaul
1bb3e2d9f0 moving readingrec to members directory 2006-01-17 16:50:05 +00:00
tipaul
6285c93429 moving moredetail to catalogue directory 2006-01-17 16:49:23 +00:00
tipaul
d04187684a moving overdue report to reports directory 2006-01-17 16:48:35 +00:00
tipaul
36db394d23 moving reserves to a reserve directory 2006-01-17 16:46:25 +00:00
tipaul
b74d8782f3 moving report home to reports directory 2006-01-17 16:43:39 +00:00
tipaul
78bf35efe8 moving invoices scripts to members directory 2006-01-17 16:42:12 +00:00
tipaul
3dfb245590 moving acqui.simple directory to cataloguing, as acqui.simple contains cataloguing scripts... 2006-01-17 16:40:54 +00:00
tipaul
a5db6479fd removing unused script 2006-01-17 16:36:41 +00:00
tipaul
036eda517e removing website management, that is now useless 2006-01-17 16:34:22 +00:00
tipaul
20df12958d moving detailprint to catalogue directory 2006-01-17 16:33:36 +00:00
tipaul
bfe64279ef Removing useless scripts : the MARC=OFF scripts are in acqui.simple for instance. Not sure of this removal, reintroduce them if needed... 2006-01-17 16:32:41 +00:00
tipaul
ff53c37e38 removing unused script 2006-01-17 16:30:26 +00:00
tipaul
d623296c3b removing catalogue-home, it's useless 2006-01-17 16:29:20 +00:00
tipaul
26a9a11e3f moving bull-home to bull directory 2006-01-17 16:23:49 +00:00
tipaul
d9db5321fb moving boraccount.pl to members directory 2006-01-17 16:23:05 +00:00
tipaul
409500a3f1 removing unused script 2006-01-17 16:21:49 +00:00
tipaul
c7248b0b0d moving admin-home.pl to admin directory 2006-01-17 16:19:37 +00:00
tipaul
d5bbc3d78e moving catalogue views to catalogue directory 2006-01-17 16:16:16 +00:00
tipaul
d2625e3ec4 removing unused script 2006-01-17 16:15:09 +00:00
tipaul
48c46ee5b7 removing useless script 2006-01-17 16:11:55 +00:00
tipaul
6b84ddf24c removing unused package 2006-01-17 16:09:50 +00:00
tipaul
ae485ffef0 removing useless package & script 2006-01-17 16:08:25 +00:00
tipaul
59c9e65720 removing useless package 2006-01-17 16:06:54 +00:00
tipaul
296d6e3c41 removing useless sub 2006-01-17 16:06:43 +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
4d5b2a4ced adding a XMLgetbiblio in Biblio.pm (1st draft, to use with zebra) 2006-01-10 17:01:29 +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
tipaul
c40f8c923f utf8 is a : go for beta test in HEAD.
some explanations :
- updater/updatedatabase => will transform all tables in innoDB (not related to utf8, just to warn you) AND collate them in utf8 / utf8_general_ci. The SQL command is : ALTER TABLE tablename DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
- *-top.inc will show the pages in utf8
- THE HARD THING : for me, mysql-client and mysql-server were set up to communicate in iso8859-1, whatever the mysql collation ! Thus, pages were improperly shown, as datas were transmitted in iso8859-1 format ! After a full day of investigation, someone on usenet pointed "set NAMES 'utf8'" to explain that I wanted utf8. I could put this in my.cnf, but if I do that, ALL databases will "speak" in utf8, that's not what we want. Thus, I added a line in Context.pm : everytime a DB handle is opened, the communication is set to utf8.
- using marcxml field and no more the iso2709 raw marc biblioitems.marc field.
2006-01-04 15:54:55 +00:00