]> git.koha-community.org Git - koha.git/commit
Bug 8233 : SearchEngine: Add a Koha::SearchEngine module
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 13 Jun 2012 09:48:22 +0000 (11:48 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 6 Jul 2012 14:51:58 +0000 (16:51 +0200)
commit623f3a2c84fea04e4ad6203db49f6fdd6cfc62cd
treecd2a14613edb79d34eadb2eb9e269f6576d7b4a7
parent078ce11e113b172726f9ab3180e52a06334d4aab
Bug 8233 : SearchEngine: Add a Koha::SearchEngine module

First draft introducing solr into Koha :-)

List of files :
  $ tree t/searchengine/
  t/searchengine
  |-- 000_conn
  |   `-- conn.t
  |-- 001_search
  |   `-- search_base.t
  |-- 002_index
  |   `-- index_base.t
  |-- 003_query
  |   `-- buildquery.t
  |-- 004_config
  |   `-- load_config.t
  `-- indexes.yaml
  just do `prove -r t/searchengine/**/*.t`

  t/lib
  |-- Mocks
  |   `-- Context.pm
  `-- Mocks.pm
  provide a mock to SearchEngine syspref (set_zebra and set_solr).

  $ tree Koha/SearchEngine
  Koha/SearchEngine
  |-- Config.pm
  |-- ConfigRole.pm
  |-- FacetsBuilder.pm
  |-- FacetsBuilderRole.pm
  |-- Index.pm
  |-- IndexRole.pm
  |-- QueryBuilder.pm
  |-- QueryBuilderRole.pm
  |-- Search.pm
  |-- SearchRole.pm
  |-- Solr
  |   |-- Config.pm
  |   |-- FacetsBuilder.pm
  |   |-- Index.pm
  |   |-- QueryBuilder.pm
  |   `-- Search.pm
  |-- Solr.pm
  |-- Zebra
  |   |-- QueryBuilder.pm
  |   `-- Search.pm
  `-- Zebra.pm

How to install and configure Solr ?
  See the wiki page: http://wiki.koha-community.org/wiki/SearchEngine_Layer_RFC

http://bugs.koha-community.org/show_bug.cgi?id=8233
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
48 files changed:
Koha/SearchEngine.pm [new file with mode: 0644]
Koha/SearchEngine/Config.pm [new file with mode: 0644]
Koha/SearchEngine/ConfigRole.pm [new file with mode: 0644]
Koha/SearchEngine/FacetsBuilder.pm [new file with mode: 0644]
Koha/SearchEngine/FacetsBuilderRole.pm [new file with mode: 0644]
Koha/SearchEngine/Index.pm [new file with mode: 0644]
Koha/SearchEngine/IndexRole.pm [new file with mode: 0644]
Koha/SearchEngine/QueryBuilder.pm [new file with mode: 0644]
Koha/SearchEngine/QueryBuilderRole.pm [new file with mode: 0644]
Koha/SearchEngine/Search.pm [new file with mode: 0644]
Koha/SearchEngine/SearchRole.pm [new file with mode: 0644]
Koha/SearchEngine/Solr.pm [new file with mode: 0644]
Koha/SearchEngine/Solr/Config.pm [new file with mode: 0644]
Koha/SearchEngine/Solr/FacetsBuilder.pm [new file with mode: 0644]
Koha/SearchEngine/Solr/Index.pm [new file with mode: 0644]
Koha/SearchEngine/Solr/QueryBuilder.pm [new file with mode: 0644]
Koha/SearchEngine/Solr/Search.pm [new file with mode: 0644]
Koha/SearchEngine/Zebra.pm [new file with mode: 0644]
Koha/SearchEngine/Zebra/QueryBuilder.pm [new file with mode: 0644]
Koha/SearchEngine/Zebra/Search.pm [new file with mode: 0644]
admin/searchengine/solr/indexes.pl [new file with mode: 0755]
etc/searchengine/solr/config.yaml [new file with mode: 0644]
etc/searchengine/solr/indexes.yaml [new file with mode: 0644]
etc/searchengine/solr/indexes.yaml.bak [new file with mode: 0644]
etc/solr/indexes.yaml [new file with mode: 0644]
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/jquery.textarea-expander.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/lib/jquery/plugins/tablednd.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/searchengine/solr/indexes.tt [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/includes/search/facets.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/includes/search/page-numbers.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/includes/search/resort_form.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/prog/en/modules/search/results.tt [new file with mode: 0644]
kohaversion.pl
misc/migration_tools/rebuild_solr.pl [new file with mode: 0755]
opac/opac-search.pl
opac/search.pl [new file with mode: 0755]
t/lib/Mocks.pm [new file with mode: 0644]
t/lib/Mocks/Context.pm [new file with mode: 0644]
t/searchengine/000_conn/conn.t [new file with mode: 0644]
t/searchengine/001_search/search_base.t [new file with mode: 0755]
t/searchengine/002_index/index_base.t [new file with mode: 0755]
t/searchengine/003_query/buildquery.t [new file with mode: 0644]
t/searchengine/004_config/load_config.t [new file with mode: 0644]
t/searchengine/indexes.yaml [new file with mode: 0644]