Skip to content
Mario Lopez edited this page Jul 29, 2018 · 3 revisions

Creating a Searcher

Examine ships with a class called:

Examine.LuceneEngine.Providers.LuceneSearcher

This class does not require any implementation and can be used as is but can be overridden if necessary. It gives you all of the functionality to search against an indexer configured to use a Lucene based index set including the full Fluent API implementation.

Config

To get started with this searcher you need to specify a searcher in config:

<Examine>
    <ExamineSearchProviders defaultProvider="mySearcher">
      <providers>
        <add name="mySearcher" type="Examine.LuceneEngine.Providers.LuceneSearcher, Examine" />
      </providers>
    </ExamineSearchProviders>
</Examine>
Clone this wiki locally