[Koha-bugs] [Bug 12478] Elasticsearch support for Koha
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 16 10:51:23 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12478
--- Comment #173 from kohayu <long_sam.tw at yahoo.com.tw> ---
(In reply to Jonathan Druart from comment #172)
> (In reply to kohayu from comment #171)
> >
> > I use bulkmarcimport.pl to import marc data,
> > But import 1,000 records every time , it occurred
> >
> > "................[NoNodes] ** No nodes are available:
> > [http://127.0.0.1:9200], called from sub
> > Search::Elasticsearch::Role::Client::Direct::__ANON__ at
> > /usr/local/share/perl/5.14.2/Catmandu/Store/ElasticSearch.pm line
> > 61.root at debian:/usr/share/koha/bin/migration_tools#"
> >
> > This job stopped.
>
> See comment 62.
my config
<elasticsearch>
<server>127.0.0.1:9200</server> <!-- may be repeated to include all
servers on your cluster -->
<index_name>koha_robin</index_name> <!-- should be unique amongst all the
indices on your cluster. _biblios and _authorities will be appended. -->
</elasticsearch>
elasticsearch no log,
my elasticseach works very well. http://i.imgur.com/ESRj0oj.png
ElasticSearch.pm
sub _build_es {
my ($self) = @_;
my $es = Search::Elasticsearch->new($self->_es_args);
# line 61 unless ($es->indices->exists(index => $self->index_name)) {
$es->indices->create(
index => $self->index_name,
body => {
settings => $self->index_settings,
mappings => $self->index_mappings,
},
);
}
$es;
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list