Bug 17571 - Move ES initialization code into Koha::SearchEngine::Elasticsearch->store
Summary: Move ES initialization code into Koha::SearchEngine::Elasticsearch->store
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Galen Charlton
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-07 16:12 UTC by Tomás Cohen Arazi (tcohen)
Modified: 2017-09-26 14:25 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi (tcohen) 2016-11-07 16:12:11 UTC
The current code does ES initialization in several places (::Search, ::Indexer and ::QueryBuilder), and in different ways (different parameters on each place). The best place would probably be Koha::SearchEngine::Elasticsearch, from which the rest inherit from.