]> git.koha-community.org Git - koha.git/commit
Bug 19893: Alternative optimized indexing for Elasticsearch
authorDavid Gustafsson <david.gustafsson@ub.gu.se>
Tue, 12 Dec 2017 17:26:13 +0000 (18:26 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 16 Nov 2018 11:04:56 +0000 (11:04 +0000)
commit5389ffa38ae72548d30cb75598ae11cef2ef10db
treeb8b4c8294fa11c9604054c69edc80d6dc89ac59d
parent505e10585ce8683af0862027aca8177b5facf3df
Bug 19893: Alternative optimized indexing for Elasticsearch

Implement optimized indexing for Elasticsearch

How to test:
1) Time a full elasticsearch re-index without this patch by running the
   rebuild_elastic_search.pl with the -d flag:
   `koha-shell <instance_name> -c "time rebuild_elastic_search.pl -d"`.
2) Apply this patch.
3) Time a full re-index again, it should be about twice at fast (for a
   couple of thousand biblios, with fewer biblios results may be more
   unpredictable).

Sponsored-by: Gothenburg University Library
Signed-off-by: Ere Maijala <ere.maijala@helsinki.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch.pm
Koha/SearchEngine/Elasticsearch/Indexer.pm
Koha/SearchEngine/Elasticsearch/Search.pm
admin/searchengine/elasticsearch/field_config.yaml
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
misc/search_tools/rebuild_elastic_search.pl
t/Koha/SearchEngine/Elasticsearch.t
t/db_dependent/Koha_Elasticsearch.t [deleted file]
t/db_dependent/Koha_Elasticsearch_Indexer.t