Class FacetLabel
Holds a sequence of string components, specifying the hierarchical name of a category.
@lucene.internal
Inheritance
Assembly: DistributedLucene.Net.Facet.dll
Syntax
public class FacetLabel : IComparable<FacetLabel>
Constructors
Name | Description |
---|---|
FacetLabel(String, String[]) | Construct from the dimension plus the given path components. |
FacetLabel(String[]) | Construct from the given path components. |
Fields
Name | Description |
---|---|
MAX_CATEGORY_PATH_LENGTH | The maximum number of characters a FacetLabel can have. |
Properties
Name | Description |
---|---|
Components | The components of this FacetLabel. Note that this array may be shared with other FacetLabel instances, e.g. as a result of Subpath(Int32), therefore you should traverse the array up to Length for this path's components. |
Length | The number of components of this FacetLabel. |
Methods
Name | Description |
---|---|
CompareTo(FacetLabel) | Compares this path with another FacetLabel for lexicographic order. |
Equals(Object) | |
GetHashCode() | |
Int64HashCode() | Calculate a 64-bit hash function for this path. This is necessary for NameHashInt32CacheLRU (the default cache impl for LruTaxonomyWriterCache) to reduce the chance of "silent but deadly" collisions. NOTE: This was longHashCode() in Lucene |
Subpath(Int32) | Returns a sub-path of this path up to |
ToString() | Returns a string representation of the path. |