1

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..

4

1 回答 1

1

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"
于 2016-10-12T21:22:51.603 回答