Jonathan Druart
623f3a2c84
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>
2012-07-06 16:51:58 +02:00