Table of Contents

Class SearchContext

Namespace
Examine.Lucene.Search
Assembly
Examine.Lucene.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class SearchContext : ISearchContext
Inheritance
SearchContext
Implements
Inherited Members

Constructors

SearchContext(SearcherManager, FieldValueTypeCollection)

public SearchContext(SearcherManager searcherManager, FieldValueTypeCollection fieldValueTypeCollection)

Parameters

searcherManager SearcherManager
fieldValueTypeCollection FieldValueTypeCollection

Properties

SearchableFields

The searchable fields of a search context

public string[] SearchableFields { get; }

Property Value

string[]

Methods

GetFieldValueType(string)

Gets the field value type of a field name

public IIndexFieldValueType GetFieldValueType(string fieldName)

Parameters

fieldName string

Returns

IIndexFieldValueType

GetSearcher()

Gets the searcher of the context

public ISearcherReference GetSearcher()

Returns

ISearcherReference