This guide walks you through implementing a sharding strategy by activating the /network
route, configuring the network object, and performing remote federated searches.
/network
route, configuring the network object, and performing remote federated searches.
/network
endpoint/experimental-features
route to enable network
:
remotes
: defines a list with the required information to access each remote instanceself
: specifies which of the configured remotes
corresponds to the current instance/network
route to configure the remotes
field of the network object. remotes
should be an object containing one or more objects. Each one of the nested objects should consist of the name of each instance, associated with its URL and an API key with search permission:
self
field to specify which of the remotes corresponds to the current instance:
self
locally instead of making a remote request.
filter
search parameter in a query. Likewise, if an update disables a feature, first remove it from your search requests, then update your settings.
"remote": "ms-00"
appear in the list of queries on the instance of that name will not cause an actual proxy search thanks to network.self
.