Runs queries against a search server.
This class was introduced in SharePoint 2013 to run search specific features, like search queries, against the backend.
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SearchExecutor
Use this class in place of Execute().
Any public static
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.