It’s possible to set the performance for a SharePoint search crawl with PowerShell. This becomes handy if you are on a developing environment where performance isn’t crucial.
There are 3 valid modes:
- Reduced
- Total number of threads = number of processors, Max Threads/host = number of processor.
- PartlyReduced (default)
- Total number of threads = 4 times the number of processors , Max Threads/host = 16 times the number of processors
- Maximum
- Total number of threads = 4 times the number of processors , Max Threads/host = 16 times the number of processors (threads are created at HIGH priority)
Use the following PowerShell commands in a SharePoint Management Shell.
1 2 3 4 5 6 7 8 |
#Reduced. Set-SPEnterpriseSearchService -PerformanceLevel "Reduced"; #PartlyReduced. Set-SPEnterpriseSearchService -PerformanceLevel "PartlyReduced"; #Maximum. Set-SPEnterpriseSearchService -PerformanceLevel "Maximum"; |