Configure the Search Query Threshold

Scenario/Problem: You would like to configure the minimum time between calls to the Search Service within the Work Management Service application.

Solution: Use the Set-SPWorkManagementServiceApplication cmdlet with the -MinimumTimeBetweenSearchQueries parameter.

You can use the -MinimumTimeBetweenSearchQueries cmdlet to configure the minimum amount of time between calls to the Search Service to identify updated or new tasks within task lists. The search query occurs during the provider refresh process. The service application waits until the time specified before it processes new search queries.

The data type of this parameter is System.TimeSpan; therefore, creating a new time span variable to provide ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.