Executes queries against a search server.

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(context: ClientContext): SearchExecutor

Parameters

Returns

SearchExecutor

Properties

public executeQueries: (queryIds: string[], queries: Microsoft.SharePoint.Client.Search.Query.Query[], handleExceptions: boolean) => SP.JsonObjectResult

public executeQuery: (query: Microsoft.SharePoint.Client.Search.Query.Query) => SP.JsonObjectResult

Runs a query.

public exportPopularQueries: (web: SP.Web, sourceId: SP.Guid) => SP.JsonObjectResult

public recordPageClick: (pageInfo: string, clickType: string, blockType: number, clickedResultId: string, subResultIndex: number, immediacySourceId: string, immediacyQueryString: string, immediacyTitle: string, immediacyUrl: string) => void

Methods

public customFromJson(initValue: any): boolean

Parameters

  • initValue: any

Returns

boolean

public fromJson(initValue: any)

Parameters

  • initValue: any

public get_context(): ClientRuntimeContext

Returns

ClientRuntimeContext

public get_objectVersion(): string

Returns

string

public get_path(): ObjectPath

Returns

ObjectPath

public get_serverObjectIsNull(): boolean

Returns

boolean

public get_typedObject(): ClientObject

Returns

ClientObject

public isObjectPropertyInstantiated(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public isPropertyAvailable(propertyName: string): boolean

Parameters

  • propertyName: string

Returns

boolean

public refreshLoad()

public retrieve()

public retrieve(propertyNames: Array<string>)

Parameters

  • propertyNames: Array<string>

public set_objectVersion(value: string)

Parameters

  • value: string