Deploy Config To Solr Cloud Searchstax Using Zookeper



Moving to the cloud has many benefits, but for us it's a new learning curve. In this blog post I will help you deploy your Solr config set to Solr Cloud. In a nutshell,




  1. Open searchstax Repository 
  2. Download the following Files:
    • accountdeploymentzookeeperconfigcreate.ps1: To create your config
    • accountdeploymentzookeeperconfigdownload.ps1 : To download the config
    • accountdeploymentzookeeperconfigdelete.ps1 : Download this file if you made any mistake and you want to delete the uploaded config set
  3. Go to Your Solr Cloud URL
  4. Go to collections >> select any of your collections to identify your default config name


  5. Download your config set using “accountdeploymentzookeeperconfigdownload.ps1”
  6. open the File in any Editor and update the below parameters:
    • Account: it's the account name, if you are managing the searchstax account then you can get it easily
    • Uid: This is the Deployment you can get it from the solr url, it's the first part of the url before the first Dash
    • Name: This is the Config Name, you already got it from Step 4
    • ApiKey: You will get this info when register your searchstax account
  7. Make your changes and put it inside the .Zip file again
  8. Create your config set using “accountdeploymentzookeeperconfigcreate.ps1”
    • Set the new config set name and the location
  9. Last step here is to remove your old collection i.e. sitecore_web_index and re-add it and select your new config set


Note: for any mistake use “accountdeploymentzookeeperconfigdelete.ps1” to delete your config set

References:





Comments

Popular posts from this blog

Sitecore Multi list Code Data Source

Organize media files using Sitecore PowerShell

C# Numeric types Overflow