Table of Contents

Interface IExamineManager

Namespace
Examine
Assembly
Examine.Core.dll

Exposes searchers and indexers

public interface IExamineManager
Extension Methods

Properties

Indexes

Gets a list of all index providers

IEnumerable<IIndex> Indexes { get; }

Property Value

IEnumerable<IIndex>

Remarks

This returns all config based indexes and indexers registered in code

RegisteredSearchers

Gets a list of all manually configured search providers

IEnumerable<ISearcher> RegisteredSearchers { get; }

Property Value

IEnumerable<ISearcher>

Remarks

This returns only those searchers explicitly registered with AddExamineSearcher or config based searchers

Methods

Dispose()

Disposes the IExamineManager

void Dispose()

TryGetIndex(string, out IIndex)

Returns an indexer by name

bool TryGetIndex(string indexName, out IIndex index)

Parameters

indexName string
index IIndex

Returns

bool

true if the index was found by name

TryGetSearcher(string, out ISearcher)

Returns a searcher that was registered with AddExamineSearcher or via config

bool TryGetSearcher(string searcherName, out ISearcher searcher)

Parameters

searcherName string
searcher ISearcher

Returns

bool

true if the searcher was found by name