SearchExecutor class
Collapse the table of content
Expand the table of content

SearchExecutor class

SharePoint 2013

Runs queries against a search server.

This class was introduced in SharePoint 2013 to run search specific features, like search queries, against the backend.


Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  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.
© 2015 Microsoft