https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17255

--- Comment #25 from Nick Clemens <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to