Skip to content

Instantly share code, notes, and snippets.

@RobsonAutomator
Last active January 10, 2017 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobsonAutomator/25f11064f9ecc1c5d01fb5c2b3a81337 to your computer and use it in GitHub Desktop.
Save RobsonAutomator/25f11064f9ecc1c5d01fb5c2b3a81337 to your computer and use it in GitHub Desktop.
Switch Lucene to Solr
# Path to Sitecore root folder not website folder
$webPath = "B:\Sitecore 8.2 rev. 160729\"
$csvPath = "B:\Sitecore 8.2 rev. 160729\Website\App_Config\Config Enable-Disable Sitecore_8.2 Update1.csv"
# Use -WhatIf -Verbose options for the first time
Set-SitecoreEnvironment -WebPath $webPath -CsvPath $csvPath -Search Solr -Environment ContentManagement -Backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment