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>

Last edited Apr 4, 2013 at 9:30 PM by Shandem, version 1