NoZebra SQL index management :
authortipaul <tipaul>
Wed, 2 May 2007 16:44:31 +0000 (16:44 +0000)
committertipaul <tipaul>
Wed, 2 May 2007 16:44:31 +0000 (16:44 +0000)
commit3e85c9e97f1dc46af7e69e4da80e647356f8210e
tree1beb8b38c2ff0acbfb90964a8c913d22b71859ef
parent4213b6ec988ab2f34a62efc5be54d5ec87ec306a
NoZebra SQL index management :
* adding 3 subs in Biblio.pm
- GetNoZebraIndexes, that get the index structure in a new systempreference (added with this commit)
- _DelBiblioNoZebra, that retrieve all index entries for a biblio and remove in a variable the biblio reference
- _AddBiblioNoZebra, that add index entries for a biblio.
Note that the 2 _Add and _Del subs work only in a hash variable, to speed up things in case of a modif (ie : delete+add). The effective SQL update is done in the ModZebra sub (that existed before, and dealed with zebra index).
I think the code has to be more deeply tested, but it works at least partially.
C4/Biblio.pm
C4/Search.pm
misc/migration_tools/rebuild_nozebra.pl
updater/updatedatabase