Class TaxonomyFacets
Base class for all taxonomy-based facets impls.
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public abstract class TaxonomyFacets : FacetsConstructors
| Improve this Doc View SourceTaxonomyFacets(String, TaxonomyReader, FacetsConfig)
Sole constructor.
Declaration
protected TaxonomyFacets(string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | indexFieldName | |
| TaxonomyReader | taxoReader | |
| FacetsConfig | config | 
Fields
| Improve this Doc View Sourcem_children
Maps parent ordinal to its child, or -1 if the parent is childless.
Declaration
protected readonly int[] m_childrenField Value
| Type | Description | 
|---|---|
| System.Int32[] | 
m_config
FacetsConfig provided to the constructor.
Declaration
protected readonly FacetsConfig m_configField Value
| Type | Description | 
|---|---|
| FacetsConfig | 
m_indexFieldName
Index field name provided to the constructor.
Declaration
protected readonly string m_indexFieldNameField Value
| Type | Description | 
|---|---|
| System.String | 
m_siblings
Maps an ordinal to its sibling, or -1 if there is no sibling.
Declaration
protected readonly int[] m_siblingsField Value
| Type | Description | 
|---|---|
| System.Int32[] | 
m_taxoReader
TaxonomyReader provided to the constructor.
Declaration
protected readonly TaxonomyReader m_taxoReaderField Value
| Type | Description | 
|---|---|
| TaxonomyReader | 
Methods
| Improve this Doc View SourceGetAllDims(Int32)
Declaration
public override IList<FacetResult> GetAllDims(int topN)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | topN | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IList<FacetResult> | 
Overrides
| Improve this Doc View SourceVerifyDim(String)
Throws System.ArgumentException if the dimension is not recognized. Otherwise, returns the FacetsConfig.DimConfig for this dimension.
Declaration
protected virtual FacetsConfig.DimConfig VerifyDim(string dim)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | dim | 
Returns
| Type | Description | 
|---|---|
| FacetsConfig.DimConfig |