Commit graph

3862 commits

Author SHA1 Message Date
tipaul
b69a6736cb (chris, read carefully)
Replacing zebraserver and zebraport by zebradb in koha.conf . The zebra connexion can be done in a single variable "server:port/database". I used this in dirty searchMarc.pm as well as in Biblio.pm. I've replaced your code in Search.pm
2006-02-14 11:23:38 +00:00
tipaul
e16ded6012 fixing bugs for :
* search on 2 words "applied chaos"
* retrieve results when there's only 1 answer
(still dirty & to be rewritten by chris, but it's useful for me)
2006-02-14 10:54:02 +00:00
rangi
cdfb9d9acb Work in progress still, committing for testing 2006-02-14 04:00:23 +00:00
rangi
85fba5d72f Just a little fix while im testing 2006-02-13 23:52:04 +00:00
rangi
c2debcf509 Start of the complete rewrite of Search.pm
It just does a simple cql search at the moment, takes a hashref of keyed by variable.
I have introduced 2 new variables to koha.conf
zebraserver and zebraport Ill add to the installer to get these set.
Very very very much a work in progress still. Thanks to paul for getting things up to this point.
2006-02-13 21:03:21 +00:00
tipaul
bcbcb9a57c adding some templates I forgot to commit (module sub menus) 2006-02-13 16:39:33 +00:00
tipaul
56a55bd4cb some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing

+code cleaning (using biblionumber standard API name)
2006-02-13 16:38:29 +00:00
tipaul
804d630bd1 adding detail templates in cvs, in their new catalogue directory 2006-02-13 16:37:57 +00:00
tipaul
a4d86bfa6c cleaning code (useless use C4::) 2006-02-13 16:36:48 +00:00
tipaul
040dbceb73 some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing
2006-02-13 16:35:37 +00:00
tipaul
685f77f4c2 fixing some warnings (perl -w should be quiet) 2006-02-13 16:34:26 +00:00
rangi
89eff456a2 Just getting rid of some annoying warnings 2006-02-09 21:34:51 +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
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