Table of Contents

Class BaseSearchProvider

Namespace
Examine
Assembly
Examine.Core.dll

Abstract searcher

public abstract class BaseSearchProvider : ISearcher
Inheritance
BaseSearchProvider
Implements
Derived
Inherited Members

Constructors

BaseSearchProvider(string)

protected BaseSearchProvider(string name)

Parameters

name string

Properties

Name

The searchers name

public string Name { get; }

Property Value

string

Methods

CreateQuery(string?, BooleanOperation)

Creates a search criteria instance as required by the implementation

public abstract 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

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

Parameters

searchText string

The search text or a native query

options QueryOptions

Returns

ISearchResults

Search Results