Table of Contents

Class TaxonomySearchContext

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

Taxonomy Search Context

public class TaxonomySearchContext : ITaxonomySearchContext, ISearchContext
Inheritance
TaxonomySearchContext
Implements
Inherited Members

Constructors

TaxonomySearchContext(SearcherTaxonomyManager, FieldValueTypeCollection)

Constructor

public TaxonomySearchContext(SearcherTaxonomyManager searcherManager, FieldValueTypeCollection fieldValueTypeCollection)

Parameters

searcherManager SearcherTaxonomyManager
fieldValueTypeCollection FieldValueTypeCollection

Exceptions

ArgumentNullException

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

GetTaxonomyAndSearcher()

Gets the Search and Taxonomny Reader reference

public ITaxonomySearcherReference GetTaxonomyAndSearcher()

Returns

ITaxonomySearcherReference