Table of Contents

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

string

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 string

The type of data in the index.

defaultOperation BooleanOperation

The default operation.

Returns

IQuery

An instance of IQueryExecutor

Search(string, QueryOptions?)

Searches the index

ISearchResults Search(string searchText, QueryOptions? options = null)

Parameters

searchText string

The search text or a native query

options QueryOptions

Returns

ISearchResults

Search Results