Koha/C4
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
..
Barcodes adding barcode generator to Koha 2004-09-20 15:03:27 +00:00
Circulation More little changes to remove warns 2005-05-15 04:34:09 +00:00
Interface/CGI moving language chooser to the main page. 2004-08-16 12:48:52 +00:00
Accounts.pm Fixing a line that was throwing up warnings when running the script with -w 2005-05-14 22:20:17 +00:00
Accounts2.pm DBI call fix for bug 662 2003-12-09 15:03:00 +00:00
Acquisition.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Amazon.pm Added some minimal docs to Amazon.pm 2005-01-25 17:23:33 +00:00
Auth.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Auth_with_ldap.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Authorities.pm synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
AuthoritiesMarc.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Biblio.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
BookShelves.pm adding bookshelf features : 2004-12-16 11:30:57 +00:00
Boolean.pm Forgot to take out debugging code 2003-02-06 07:07:54 +00:00
Breeding.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Bull.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Context.pm 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
Database.pm Added magic RCS comment. 2002-10-13 07:31:21 +00:00
Date.pm fix for #229 2003-04-08 11:30:55 +00:00
Format.pm Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y". 2002-10-13 11:32:14 +00:00
Groups.pm DBI call fix for bug 662 2003-12-15 10:49:46 +00:00
Input.pm prepare(?) & execute($var) modif 2003-11-28 14:06:57 +00:00
Koha.pm moving language chooser to the main page. 2004-08-16 12:49:42 +00:00
Maintainance.pm Fixing bug that was stopping subject maintenance working 2004-11-05 00:08:22 +00:00
Makefile.PL Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
MANIFEST Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
Members.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
Output.pm adding "opacstylesheet" systempreference. 2005-01-03 10:58:46 +00:00
Print.pm Fix for bug 865 2004-11-28 08:32:36 +00:00
Query.pm Starting on C4::Query, 2004-03-07 01:49:34 +00:00
Reserves2.pm fix for : 2004-12-15 10:47:09 +00:00
Scan.pm Added a POD of sorts. 2002-10-07 00:48:50 +00:00
Search.pm Commenting out warn call 2005-05-14 22:05:44 +00:00
SearchMarc.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
SearchMarcTest.pm proof of concept for inverted index tables for search 2005-05-27 09:30:23 +00:00
Security.pm Added magic RCS comment. 2002-10-13 07:31:21 +00:00
Shelf.pm DBI call fix for bug 662 2003-12-15 13:41:43 +00:00
SimpleMarc.pm Deleted unused variables. 2002-10-13 08:27:49 +00:00
Stats.pm Removing old print statement 2005-05-15 04:35:36 +00:00
Stock.pm DBI call fix for bug 662 2003-12-15 10:53:47 +00:00
Suggestions.pm synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
test.pl Removed trailing whitespace. 2002-10-13 09:31:35 +00:00
Z3950.pm fix fog bug #622 : processz3950queue fails 2003-10-01 15:08:14 +00:00