Commit graph

464 commits

Author SHA1 Message Date
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
tipaul
41c209a4bd proof of concept for inverted index tables for search
how it works :
* create the table marc_Tword with the following structure :
CREATE TABLE `marc_Tword` (
  `word` varchar(80) NOT NULL default '',
  `usedin` text NOT NULL,
  `tagsubfield` varchar(4) NOT NULL default '',
  PRIMARY KEY  (`word`,`tagsubfield`)
) TYPE=MyISAM;
* open a console & type export PERL5LIB & export KOHA_CONF as usual.
* fill this table with misc/build_marc_Tword.pl. Warning, this script uses a very very consumming but very fast method to fill the table : it does everything in memory, then write everything. Another method is provided (& commented), but it's 100x times slower (really !)
* open opac-search.pl and replace use C4::SearchMarc; by use C4::SearchMarcTest; as the API hasn't changed, it will work immediatly.
* go to opac-search (advanced search) & search whatever you want. Should work fine.

LIMITS :
* build_marc_Tword has problem with extended chars (accented ones mainly). So don't be afraid if you get sql errors. They are not a problem for a POC
* search works always order by title, whatever you choose.
* search works only search WORDA and WOARDB, not yet WORDA or WORDB or WORDA except WORDB.
2005-05-27 09:30:23 +00:00
tipaul
9d21434743 changing dewey to varchar 2005-05-06 15:56:06 +00:00
joshferraro
fd9122cdba produces a comma separated list of currently available reserves, with item and borrower details.
NOTE: it's NPL-specific because of hardcoded branch info -- this could be
fixed with a query for branches.
2005-05-04 14:01:45 +00:00
joshferraro
ce775cce9c Fixes priority of reserves it also e-mails a list of 'problem' reserves to me at the library 2005-05-04 13:58:35 +00:00
joshferraro
82b9f92bd9 set itemlost status to '2' ("long overdue") on items more than 90 days overdue. 2005-05-04 13:54:01 +00:00
joshferraro
8810f62ad4 Changed the status of a Juvinile patron to Adult on his/her 18th birthday 2005-05-04 13:52:03 +00:00
joshferraro
effd10ecdf Minor change to generalize the script 2005-05-04 13:45:18 +00:00
joshferraro
0bd7d912b8 Files relevant to LibLime's spellcheck and suggest features are placed
in this directory.
2005-05-04 13:41:36 +00:00
tipaul
64cd740d2b synch'ing 2.2 and head 2005-05-04 08:58:30 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
acli
0fbc036392 Some changes from rel_2_2:
Make the generated pot file (i.e., result of "create") look more "real",
but using msgmerge to reformat the output

Script failed to create intermediate directories if the directory of the
target does not exist and the parent of that directory does not exist
either. This should fix that.
2005-02-04 03:49:33 +00:00
tipaul
0eb7623640 *** empty log message *** 2005-01-05 14:41:49 +00:00
tipaul
056c211411 minor update just before releasing official 2.2.0 2005-01-05 14:31:06 +00:00
tipaul
8664309215 updating doc & adding a script to rebuild officially supported languages 2005-01-03 16:30:13 +00:00
tipaul
ae197cb5dd removing .po in the wrong place (is in po/ now) 2005-01-03 16:12:28 +00:00
tipaul
51e204fa23 moving bulkmarcimport script to migration_tools directory 2005-01-03 15:25:50 +00:00
tipaul
cd6f87a689 Auto-build LANG authorized values 2005-01-03 12:59:49 +00:00
tipaul
453a01a391 adding an index 2005-01-03 12:55:22 +00:00
tipaul
f02a496ab0 * rolling back lock_tables_privs = 'Y' during install stage (too many problems) The option is shown in bulkmacimport instead. 2005-01-03 11:11:10 +00:00
acli
2dfe2c917a *** empty log message *** 2004-12-30 10:29:28 +00:00
acli
6fe93e5363 *** empty log message *** 2004-12-30 09:37:19 +00:00
acli
80dbe83160 Preliminary, incomplete update 2004-12-30 09:20:41 +00:00
acli
b8604171cb Some progress 2004-12-30 08:01:43 +00:00
acli
f04e3656d2 Oops, specified the wrong English template directory
The css translation file is only about 33% done.
2004-12-30 07:15:53 +00:00
acli
2cce962b98 Preliminary update (based on old default_opac_zh_TW.po file) 2004-12-30 07:05:04 +00:00
acli
78c09f8e7b Recommend relative paths for English template location, to make PO files
somewhat easier to read
2004-12-30 06:58:19 +00:00
acli
5c84b3411e Minor documentation correction 2004-12-30 06:53:13 +00:00
acli
52e5918b91 Minor documentation updates 2004-12-30 06:48:19 +00:00
acli
9638aa4638 Moved the old po files to the new standard location 2004-12-30 06:17:21 +00:00
tipaul
35d533a7f0 fix for http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=874
Installer Should ask for apache group

No need to ask, just use a getgrnam() ;-)
2004-12-15 14:39:21 +00:00
tipaul
ad32053d26 set lock_tables_privs = 'Y' during install stage 2004-12-15 13:27:48 +00:00
tipaul
1b576fae1c fix following Klaus Weidenbach mail, to backup in manually entered directory. 2004-12-08 15:37:26 +00:00
tipaul
cef8798f7c *** empty log message *** 2004-12-08 10:37:19 +00:00
tipaul
ee11fc4616 text_extract is deprecated. Replaced by text_extract3 2004-12-08 10:36:53 +00:00
tipaul
eb25e7e691 translations updates 2004-12-08 10:36:03 +00:00
tipaul
3f0d06fbcd defaulting variables to avoir Perl warnings 2004-12-08 10:28:42 +00:00
tipaul
97d603a706 modified french translation 2004-11-24 20:38:30 +00:00
tipaul
52cad99cb9 moving stopwords into sql-datas. Now, they can be accessed during install 2004-11-24 16:05:33 +00:00
tipaul
62fd54745e fix suggested by Slef 2004-11-23 16:02:32 +00:00
tipaul
23fa406ed6 fix for #862 : Upgrade does not work (from 2.2RC1 to 2.2RC2) 2004-11-23 12:27:39 +00:00
tipaul
fa603ebde9 release notes 2004-11-16 13:38:43 +00:00
tipaul
92a3491b7d sql datas for authorities 2004-11-16 13:38:11 +00:00
tipaul
d2461f10de bugfixes in installer 2004-11-16 13:04:18 +00:00
tipaul
a1787654c0 updated french frameworks 2004-11-15 11:05:55 +00:00
tipaul
d2beab17b1 french opac (definitive version) and french intranet (some tuning still needed) 2004-11-15 11:02:43 +00:00
tipaul
7866825377 useless, translation is now done through tmpl_process3.pl, that generates.pl files 2004-11-15 11:01:28 +00:00
tipaul
531a7472af koha 2.2 DB structure (final ? I hope...) 2004-11-12 16:39:48 +00:00
tipaul
a159a488f3 testing PDF::API2 and removing mandatory test of Net::LDAP 2004-11-02 18:03:15 +00:00
tipaul
ce4d2c7cbf adding .po files in english for translators (for 2.2 translation) 2004-10-05 19:38:38 +00:00
tipaul
f2ef101936 Bugfix for the the problem of duplicate items : the record contains biblio & items.
The biblio & the items are separated.
The bug was that the item was still in the biblio (thus being added twice : as "biblio" and as "item")

thanks to dana for pointing the bug.
2004-09-28 15:25:29 +00:00
tipaul
b7e7625ccb fixing a major bug in rebuildnonmarc (calculation of itemnumber was wrong & caused SQL bugs everywhere)
improving performance by not rewritting the MARC DB, it's useless
2004-09-23 16:23:55 +00:00
tipaul
279b390887 adding release notes for history 2004-09-23 16:19:45 +00:00
tipaul
f34eaffa70 update of french UNIMARC datas 2004-09-20 13:20:01 +00:00
tipaul
9fa18db1ed fix for DB (installer) 2004-09-13 15:33:43 +00:00
tipaul
6615c0098b po for french OPAC 2004-09-02 16:42:22 +00:00
tipaul
126681c4c1 little tool to analyse the marc parameters.
run without arguments to know what it does.
export PERL5LIB (& export KOHA_CONF if not /etc/koha.conf) as usual
2004-09-02 16:34:04 +00:00
shedges
5246492046 Added MARC21 authority tag and subfield structure. 2004-08-22 00:45:58 +00:00
tipaul
9aa13fbda9 default framework for authorities in UNIMARC (french language) 2004-08-18 16:00:02 +00:00
tipaul
48ff16eabd commiting release notes for 2.1.0 (late...) 2004-08-18 15:59:15 +00:00
tipaul
37d454a82a adding frameworkcode to API in some subs 2004-08-13 16:37:25 +00:00
tipaul
78ac1e13ea useless file (use tmpl_process3.pl instead & files in po directory) 2004-08-12 14:48:58 +00:00
tipaul
10032f8af6 moving translation files to a .po directory 2004-08-12 14:43:54 +00:00
tipaul
cfc3a22d9f indentations modifs 2004-07-15 09:51:26 +00:00
tipaul
24313714e3 MARC structure updated for 2.1.0 2004-06-29 15:59:36 +00:00
tipaul
ff9e881af3 moving release notes to specific directory 2004-06-29 11:52:51 +00:00
tipaul
43874d7276 files in french/unimarc to be selected by the user during installation. 2004-06-29 08:37:01 +00:00
tipaul
39203f3c71 moved to "french" directory 2004-06-29 08:35:25 +00:00
tipaul
d1037dda96 Adding "directory-select" feature to the "select sql file to insert to your DB". 2004-06-29 08:34:05 +00:00
tipaul
635618b2f2 uninstaller 2004-06-22 15:33:06 +00:00
tipaul
897f959bda adding new feature to installer :
the user can select sql-datas to add to it's DB
can be populated by any SQL
french UNIMARC sample being added really soon
- framework for monography
- framework for URL
- framework for ...
- Personal UNIMARC autority
...
2004-06-22 15:32:43 +00:00
tipaul
19bbe6a37e adding auto-install option.
run ./installer -i /path/to/install_file
2004-06-22 11:33:47 +00:00
tipaul
1dcbbce170 * uninstaller.pl to uninstall Koha
* -i auto_install_file to install without questions (useful for developper)
2004-06-21 17:13:32 +00:00
tipaul
b1d362a277 koha.mysql in 2.0 by default. Cleaning of updatedatabase should be the next thing to do
upgrade will ONLY be from 2.0 to 2.2
thus, users in 1.2 should upgrade to 2.0, then 2.2
2004-06-21 17:10:51 +00:00
tipaul
7d1b435d42 importing iso2709 authority file 2004-06-21 07:51:41 +00:00
joshferraro
1b33f5f63a This script builds a new marc_word
table with a reduced number of tags (only those
tags that should be searched) allowing for
faster and more accurate searching when used
with the SearchMarc routines.  Make sure that
the MARCaddword routine in Biblio.pm will index
characters >= 1 char; otherwise, searches like
"O'brian, Patrick" will fail as the search
routines will seperate that query into "o",
"brian", and "patrick".  (If "o" is not in the
database the search will fail)
2004-06-11 15:07:48 +00:00
kb2qzv
52f48ea4b4 minor update. 2004-05-04 19:30:07 +00:00
kb2qzv
3aa0b04399 minor update. 2004-05-01 14:34:54 +00:00
kb2qzv
d477335f7c minor update of translation, removal of fuzzies 2004-04-17 16:26:24 +00:00
tipaul
4cbdd6d405 adding -w parameter to have warnings 2004-04-14 19:48:13 +00:00
acli
c9008d810f Correction from Arthur 2004-04-01 04:03:45 +00:00
acli
f3d52458a0 Various corrections & updates 2004-03-28 08:54:32 +00:00
acli
b0feb8e92e Some corrections and new translations 2004-03-28 07:29:12 +00:00
acli
475839bb06 Minor consistency changes 2004-03-21 03:19:49 +00:00
acli
a97c7e81c6 New strings 2004-03-21 03:06:32 +00:00
acli
c85fb728dc Various corrections 2004-03-20 08:42:27 +00:00
acli
7969fc1c4f Oops, wrong dialect 2004-03-20 06:49:24 +00:00
kb2qzv
f4c8f892c4 translated, after having run "update". 2004-03-16 19:24:49 +00:00
acli
8f40eaa445 Workaround for strange label. Didn't realize this happens in the OPAC too. 2004-03-16 06:42:18 +00:00