Class AbstractGroupFacetCollector.FacetEntry
Represents a facet entry with a value and a count.
Inherited Members
Namespace: Lucene.Net.Search.Grouping
Assembly: Lucene.Net.Grouping.dll
Syntax
public class AbstractGroupFacetCollector.FacetEntry
Constructors
FacetEntry(BytesRef, int)
Represents a facet entry with a value and a count.
Declaration
public FacetEntry(BytesRef value, int count)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | value | |
int | count |
Properties
Count
Gets the count (number of groups) of this facet entry.
Declaration
public virtual int Count { get; }
Property Value
Type | Description |
---|---|
int |
Value
Gets the value of this facet entry
Declaration
public virtual BytesRef Value { get; }
Property Value
Type | Description |
---|---|
BytesRef |
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
object | o |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |