SearchFirst

SearchFirst(string, SearchOptions)

Starts a search with a query in text form in the distributed search index.

public NetworkSearchResult SearchFirst(string query, SearchOptions options)
Parameter Type Description
query String The search query.
options SearchOptions The search options.

Return Value

The search result.

Remarks

A cancellation that Cancellation requests ends the call at once with an empty result whose warnings are “Operation cancelled.” and which has no next chunk. A shard that has got the request completes the search, and its result is ignored.

See Also


SearchFirst(SearchQuery, SearchOptions)

Starts a search with a query in object form in the distributed search index.

public NetworkSearchResult SearchFirst(SearchQuery query, SearchOptions options)
Parameter Type Description
query SearchQuery The search query.
options SearchOptions The search options.

Return Value

The search result.

Remarks

A cancellation that Cancellation requests ends the call at once with an empty result whose warnings are “Operation cancelled.” and which has no next chunk. A shard that has got the request completes the search, and its result is ignored.

See Also


SearchFirst(SearchImage, ImageSearchOptions)

Starts a reverse image search in the distributed search index.

public NetworkImageSearchResult SearchFirst(SearchImage image, ImageSearchOptions options)
Parameter Type Description
image SearchImage The image to search.
options ImageSearchOptions The image search options.

Return Value

The reverse image search result.

See Also