Class TaxonomySearchContext
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
SearcherTaxonomyManagerfieldValueTypeCollection
FieldValueTypeCollection
Exceptions
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
GetSearcher()
Gets the searcher of the context
public ISearcherReference GetSearcher()
Returns
GetTaxonomyAndSearcher()
Gets the Search and Taxonomny Reader reference
public ITaxonomySearcherReference GetTaxonomyAndSearcher()