Using Aliases in Fusion & Solr

Use case:

Aliases are used for switching between hot and cold collections.

Alias in Solr:

Collection aliases are only available when using SolrCloud mode and are manipulated via a simple HTTP API:

  • Create/Update
  • Delete


More Documentation:


Using alias in Fusion:

curl -u user:pass -X PUT -H 'Content-type: application/json' -d '{"solrParams":{"name":"MYSOLRCOLLECTION"}}' http://localhost:8764/api/apollo/collections/myFusionCollection

You need to tell the Fusion collection to point to another Solr collection 'MYSOLRCOLLECTION' with a PUT.
This is equivalent to using the Solr collection API to update the alias.



Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk