This page lists the changes to the /multi-search route to improve federated search in v1.11.

This improves the federated search feature that was introduced in v1.10

v1.10 federated search

Implementation status

API/behavior changes

Support facet distribution and facet stats in federated search

Motivation:

Changes

1/2: Addfederation.facetsByIndex to POST /multi-search

The federation field of the POST /multi-search payload is extended with a subfield called facetsByIndex.

facetsByIndex is an object whose fields consist of the association of an index's name to its array of faceted fields for this request.

The index must exist at the time of the search, otherwise index_not_found is returned.

The array of attributes must only contain filterable attributes for the index, otherwise invalid_multi_search_facets is returned.