This documentation is archived and is not being maintained.
SearchExecutor class
Runs queries against a search server.
This class was introduced in SharePoint 2013 to run search specific features, like search queries, against the backend.
System.Object
Microsoft.Office.Server.Search.Query.SearchExecutor
Namespace:
Microsoft.Office.Server.Search.QueryAssembly:
Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SearchExecutor
Use this class in place of Execute().
Any public
static (
Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.