Is multi index search possible with ongr.io's ElasticSearchBundle?

385 Views Asked by At

I'm looking into ongr.io's ElasticSearchBundle but can't find a way to perform a multi index search or query. Am I overlooking something or is it just not possible (yet)?

According to the docs, you specify the index you're using in your configuration and not when performing the search..

1

There are 1 best solutions below

2
On BEST ANSWER

You can create a separate manager for the multi-index search purpose and define index name separated by the comma.

connections:
    default:
        hosts:
            - 127.0.0.1:9200
        index_name: "firstIndex,secondIndex"