Bugzilla – Attachment 72922 Details for
Bug 20248
Elasticsearch - Improvements to mappings UI and indexing script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20248: (follow-up) Improve Elasticsearch mappings UI and rebuild_elastic_search.pl
Bug-20248-follow-up-Improve-Elasticsearch-mappings.patch (text/plain), 1.50 KB, created by
claire.hernandez@biblibre.com
on 2018-03-15 10:22:11 UTC
(
hide
)
Description:
Bug 20248: (follow-up) Improve Elasticsearch mappings UI and rebuild_elastic_search.pl
Filename:
MIME Type:
Creator:
claire.hernandez@biblibre.com
Created:
2018-03-15 10:22:11 UTC
Size:
1.50 KB
patch
obsolete
>From da2d91352f95f58e3cd18c1b493fcbb8a3e5a154 Mon Sep 17 00:00:00 2001 >From: Claire Hernandez <claire.hernandez@biblibre.com> >Date: Thu, 15 Mar 2018 10:20:30 +0000 >Subject: [PATCH] Bug 20248: (follow-up) Improve Elasticsearch mappings UI and > rebuild_elastic_search.pl > >- change index name >--- > t/db_dependent/Koha_Elasticsearch_Indexer.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha_Elasticsearch_Indexer.t b/t/db_dependent/Koha_Elasticsearch_Indexer.t >index bded587176..aa2cf90531 100644 >--- a/t/db_dependent/Koha_Elasticsearch_Indexer.t >+++ b/t/db_dependent/Koha_Elasticsearch_Indexer.t >@@ -74,7 +74,7 @@ subtest 'create_index() tests' => sub { > > my $indexer; > ok( >- $indexer = Koha::SearchEngine::Elasticsearch::Indexer->new({ 'index' => 'biblios' }), >+ $indexer = Koha::SearchEngine::Elasticsearch::Indexer->new({ 'index' => 'biblios_test' }), > 'Creating a new indexer object' > ); > ok( >@@ -145,7 +145,7 @@ subtest '_convert_marc_to_json() tests' => sub { > ); > my @records = ( $marc_record ); > >- my $importer = Koha::SearchEngine::Elasticsearch::Indexer->new({ index => 'biblios' }); >+ my $importer = Koha::SearchEngine::Elasticsearch::Indexer->new({ index => 'biblios_test' }); > my $conv = $importer->_convert_marc_to_json( \@records )->next(); > is( $conv->{author}[0][0], "Author", "First mapped author should be 100a"); > is( $conv->{author}[1][0], "Corp Author", "Second mapped author should be 110a"); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20248
:
71954
|
72801
|
72861
|
72907
|
72921
|
72922
|
72932
|
72933
|
73374
|
73796
|
73798
|
77570
|
77571
|
77572
|
77573