IndexService.Search Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Search(Query, string, bool)
Search the fulltext index with the specified Query.
public static IndexSearchResult Search(Query query, string searcher = null, bool breadcrumbs = false)
Parameters
- query
- Query
A query.
- searcher
- string
A named searcher to use for the query.
- breadcrumbs
- bool
true
to include path to ancestors in the breadcrumb property.
Returns
IndexSearchResult
A list of documents matching the query.