Skip to content
Shannon edited this page Jun 24, 2013 · 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