[Koha-bugs] [Bug 17255] Upgrade Elastic Search code to work with version 2.4+
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 30 16:53:14 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17255
--- Comment #25 from Nick Clemens <nick at bywatersolutions.com> ---
I finally got ES2 to index and return results in kohadevbox, I found I had to
do a few things:
I used the two .debs attached here and also installed Catmandu from CPAN
In Koha/SearchEngine/Elasticsearch.pm I added the line below just before the
return:
+ push @rules, "move_field(_id,my_id)";
In koha-conf I added at the bottom of the elasticsearch stanza:
<key_prefix>my_</key_prefix>
In koha/SearchEngine/Elasticsearch/Indexer.pm
- Catmandu::Importer::MARC->new( records => $records, _id => '999c' );
+ Catmandu::Importer::MARC->new( records => $records, id => '999c' );
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list