ongr-io / ElasticsearchBundle

Symfony bundle for Elasticsearch with steroids
MIT License
313 stars 189 forks source link

Allow to change the default hosts for all indexes #945

Closed jdreesen closed 4 weeks ago

jdreesen commented 4 years ago

When the ES host is other than localhost (or default port) it's very cumbersome to manually define the (same) host for every single index.

Thus, I implemented a possibility to define the default hosts for all indexes in YAML. They can be overridden per index via YAML or annotations, of course.

codecov-commenter commented 4 years ago

Codecov Report

Merging #945 into 6.2 will decrease coverage by 0.38%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##                6.2     #945      +/-   ##
============================================
- Coverage     66.61%   66.23%   -0.39%     
  Complexity      423      423              
============================================
  Files            39       39              
  Lines          1393     1401       +8     
============================================
  Hits            928      928              
- Misses          465      473       +8     
Impacted Files Coverage Δ Complexity Δ
DependencyInjection/Compiler/MappingPass.php 0.00% <0.00%> (ø) 17.00 <0.00> (ø)
DependencyInjection/Configuration.php 0.00% <0.00%> (ø) 4.00 <0.00> (ø)
DependencyInjection/ONGRElasticsearchExtension.php 0.00% <0.00%> (ø) 1.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ac771ff...b733641. Read the comment docs.