Struct FacetLabel
Holds a sequence of string components, specifying the hierarchical name of a category.
public readonly struct FacetLabel : IFacetLabel, IComparable<IFacetLabel>
- Implements
- Inherited Members
Constructors
FacetLabel(string, string[])
Constructor
public FacetLabel(string dimension, string[] components)
Parameters
dimension
stringThe name of the dimension that stores this FacetLabel
components
string[]The components of this FacetLabel
FacetLabel(string[])
Constructor
public FacetLabel(string[] components)
Parameters
components
string[]The components of this FacetLabel
Properties
Components
The components of this IFacetLabel.
public string[] Components { get; }
Property Value
- string[]
Length
The number of components of this IFacetLabel.
public int Length { get; }
Property Value
Methods
CompareTo(IFacetLabel?)
Compares one facet label to another.
public int CompareTo(IFacetLabel? other)
Parameters
other
IFacetLabel
Returns
Remarks
From Lucene.NET
Subpath(int)
Returns a sub-path of this path up to length components.
public IFacetLabel Subpath(int length)
Parameters
length
int