SearchExecutor.ExecuteQueries_Client method

Runs a batch of queries as CSOM client type. Reserved for internal use.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function ExecuteQueries_Client ( _
    queryIds As String(), _
    queries As Query(), _
    handleExceptions As Boolean _
) As Dictionary(Of String, ResultTableCollection)
'Usage
Dim instance As SearchExecutor
Dim queryIds As String()
Dim queries As Query()
Dim handleExceptions As Boolean
Dim returnValue As Dictionary(Of String, ResultTableCollection)

returnValue = instance.ExecuteQueries_Client(queryIds, _
    queries, handleExceptions)
public Dictionary<string, ResultTableCollection> ExecuteQueries_Client(
    string[] queryIds,
    Query[] queries,
    bool handleExceptions
)

Parameters

  • queryIds
    Type: []

    An array with the queries to run.

  • queries
    Type: []

    The batch of search queries to run. This array must be of the same length as queryIds and its members must be unique and non-null.

    The string at position i in queryIds is the ID for the ith query in the queries array.

  • handleExceptions
    Type: System.Boolean

    Specifies whether the exception should be ignored when retrieving results. If true, the results will still be retrieved and the exception will be ignored. The default value is false.

Return value

Type: System.Collections.Generic.Dictionary<String, ResultTableCollection>
Each item represents the results for one of the search queries passed. The item in the dictionary has a unique key and a ResultTableCollection value.

See also

Reference

SearchExecutor class

SearchExecutor members

Microsoft.Office.Server.Search.Query namespace