projects
/
koha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug 8206: make authority search indexes consistent
[koha.git]
/
Koha
/
SearchEngine.pm
1
package Koha::SearchEngine;
2
3
use Moose;
4
use C4::Context;
5
use Koha::SearchEngine::Config;
6
7
has 'name' => (
8
is => 'ro',
9
default => sub {
10
C4::Context->preference('SearchEngine');
11
}
12
);
13
14
has config => (
15
is => 'rw',
16
lazy => 1,
17
default => sub {
18
Koha::SearchEngine::Config->new;
19
}
20
# lazy => 1,
21
# builder => '_build_config',
22
);
23
24
#sub _build_config {
25
# my ( $self ) = @_;
26
# Koha::SearchEngine::Config->new( $self->name );
27
#);
28
29
1;