[Koha-bugs] [Bug 7430] ModZebra should not be in C4::Biblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 20:19:12 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7430

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7100|0                           |1
        is obsolete|                            |

--- Comment #2 from Jared Camins-Esakov <jcamins at cpbibliography.com> 2012-01-13 19:19:12 UTC ---
Created attachment 7144
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7144
Bug 7430: Move ModZebra out of C4::Biblio

This proof-of-concept commit does the following:
* Moves all the functionality from C4::Biblio::ModZebra into a new
  Koha::Search::Engine namespace, breaking it up into a Zebra class for the
  relevant section.
* Rather than calling ModZebra, callers should now use Koha::Search and
  call AddToIndexQueue() with the same arguments.
* Creates a new Koha::Utils class with GetMarcFromKohaField and GetAuthType
  methods, in an attempt to begin the process of reducing circular dependencies
* Adds a syspref SearchEngine to specify which search engine should be used. At
  present the only option is Zebra.

IMPORTANT NOTE: The syspref is added by the atomicupdate in
installer/data/mysql/atomicupdate/bug_7430_add_searchengine_syspref

IMPORTANT NOTE: NoZebra was deprecated for 3.4.0, and this commit entirely
removes portions of the NoZebra code.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list