Class LuceneSearcher
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
stringsearcherManager
SearcherManageranalyzer
AnalyzerfieldValueTypeCollection
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
stringsearcherManager
SearcherManageranalyzer
AnalyzerfieldValueTypeCollection
FieldValueTypeCollectionfacetsConfig
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()