Skip to content
Shannon Deminick edited this page Jul 21, 2020 · 3 revisions

*** This is Legacy documentation *** here's the links to the current docs:

Tip: There are many unit tests in the source code that can be used as Examples of how to do things. There is also a test web project that has plenty of examples of how to configure indexes and search them.


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