Table of Contents

Class LuceneSearcher

Namespace
Examine.Lucene.Providers
Assembly
Examine.Lucene.dll

Standard object used to search a Lucene index

public class LuceneSearcher : BaseLuceneSearcher, ISearcher, IDisposable
Inheritance
LuceneSearcher
Implements
Inherited Members

Constructors

LuceneSearcher(string, SearcherManager, Analyzer, FieldValueTypeCollection)

Constructor allowing for creating a NRT instance based on a given writer

[Obsolete("To remove in Examine V5")]
public LuceneSearcher(string name, SearcherManager searcherManager, Analyzer analyzer, FieldValueTypeCollection fieldValueTypeCollection)

Parameters

name string
searcherManager SearcherManager
analyzer Analyzer
fieldValueTypeCollection FieldValueTypeCollection

LuceneSearcher(string, SearcherManager, Analyzer, FieldValueTypeCollection, FacetsConfig)

Constructor allowing for creating a NRT instance based on a given writer

public LuceneSearcher(string name, SearcherManager searcherManager, Analyzer analyzer, FieldValueTypeCollection fieldValueTypeCollection, FacetsConfig facetsConfig)

Parameters

name string
searcherManager SearcherManager
analyzer Analyzer
fieldValueTypeCollection FieldValueTypeCollection
facetsConfig FacetsConfig

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

[Obsolete("To remove in Examine V5 - IDisposable is implemented in base class")]
public void Dispose()

Dispose(bool)

[Obsolete("To remove in Examine v5")]
protected virtual void Dispose(bool disposing)

Parameters

disposing bool

GetSearchContext()

Gets the seach context

public override ISearchContext GetSearchContext()

Returns

ISearchContext