Lines 11-17
use Koha::SearchEngine::Elasticsearch::Browse;
Link Here
|
11 |
|
11 |
|
12 |
my $browser = Koha::SearchEngine::Elasticsearch::Browse->new( { index => 'biblios' } ); |
12 |
my $browser = Koha::SearchEngine::Elasticsearch::Browse->new( { index => 'biblios' } ); |
13 |
my $cgi = CGI->new; |
13 |
my $cgi = CGI->new; |
14 |
my $session = CGI::Session->new(); |
14 |
my $session = CGI::Session->load() or die CGI::Session->errstr(); |
15 |
|
15 |
|
16 |
$session->param(-name=>'analyzer', -value=>"autocomplete"); |
16 |
$session->param(-name=>'analyzer', -value=>"autocomplete"); |
17 |
$session->param(-name=>'prefix', -value=>$cgi->multi_param("prefix")); |
17 |
$session->param(-name=>'prefix', -value=>$cgi->multi_param("prefix")); |
18 |
- |
|
|