IndexService.Search Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Search(Query, bool) Performs a search according to the specified Query object.
Search(Query, string) Performs a search with the specified searcher according to the specified Query object.

Search(Query, bool)

Performs a search according to the specified Query object.

public static IndexSearchResult Search(Query query, bool breadcrumb = false)

Parameters

query
Query

A Query object containing the search criteria.

breadcrumb
bool

true to include path to ancestors in the breadcrumb property.

Returns

IndexSearchResult

The search result.

Search(Query, string)

Performs a search with the specified searcher according to the specified Query object.

public static IndexSearchResult Search(Query query, string searcher)

Parameters

query
Query

A Query object containing the search criteria.

searcher
string

The name of a searcher, e.g. "mentions".

Returns

IndexSearchResult

The search result.