Exploit.cz
Exploit.cz
https://www.php.net/releases/7_4_2.php
@sacesare I think that you have mounted directory /etc/php/7.1/ from your filesystem. double check this! I made that same mistake some time before too
+1
you can use aggregate filter with subarray key like tags.name, it is not possible without nested ``` "_source" : { "name" : "Super article", "tags" : [ { "name" :...
@damienalexandre whow! you are life saver, I am using filter_path problem solved! maybe there should be exception when empty array is returned https://github.com/jolicode/elastically/blob/a116efb71eb81576bf21efab32ea6d0bbaf9b57d/src/ResultSetBuilder.php#L70 ``` if (!$result->getIndex()) { throw new \Exception('Returned...
full article here: https://www.exploit.cz/how-to-search-across-multiple-elasticsearch-indexes-with-symfony-fos-elasticabundle/ solution based on code in #1385 define service ```yaml FOS\ElasticaBundle\Transformer\ElasticaToModelTransformerCollection: arguments: - { recipe: '@fos_elastica.elastica_to_model_transformer.recipe.recipe', recipes: '@fos_elastica.elastica_to_model_transformer.recipes.recipes' } ``` define custom class and inject this collection...
My Article updated, works well with latest master 6.0 Beta (need to create new ElasticaToModelTransformerCollection class) https://www.exploit.cz/how-to-search-across-multiple-elasticsearch-indexes-with-symfony-fos-elasticabundle/
Sorry guys, but I have done partially fix, no other better fix exists, so you should accept it and rework it later...
@czachor sorry, not using FOSElasticaBundle anymore. I switched to [@jolicode/elastically](https://github.com/jolicode/elastically)
@cloudnautique it will be awesome!