Interface ISearcher
- Namespace
- Examine
- Assembly
- Examine.Core.dll
An interface representing an Examine Searcher
public interface ISearcher
Properties
Name
The searchers name
string Name { get; }
Property Value
Methods
CreateQuery(string?, BooleanOperation)
Creates a search criteria instance as required by the implementation
IQuery CreateQuery(string? category = null, BooleanOperation defaultOperation = BooleanOperation.And)
Parameters
category
stringThe type of data in the index.
defaultOperation
BooleanOperationThe default operation.
Returns
- IQuery
An instance of IQueryExecutor
Search(string, QueryOptions?)
Searches the index
ISearchResults Search(string searchText, QueryOptions? options = null)
Parameters
searchText
stringThe search text or a native query
options
QueryOptions
Returns
- ISearchResults
Search Results