Class Int32AssociationFacetField
Add an instance of this to your
NOTE: This was IntAssociationFacetField in Lucene
@lucene.experimental
Inherited Members
Namespace: Lucene.Net.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public class Int32AssociationFacetField : AssociationFacetField
Constructors
| Improve this Doc View SourceInt32AssociationFacetField(Int32, String, String[])
Creates this from dim
and path
and an
int association
Declaration
public Int32AssociationFacetField(int assoc, string dim, params string[] path)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | assoc | |
System.String | dim | |
System.String[] | path |
Methods
| Improve this Doc View SourceBytesRefToInt32(Util.BytesRef)
Decodes a previously encoded
NOTE: This was bytesRefToInt() in Lucene
Declaration
public static int BytesRefToInt32(Util.BytesRef b)
Parameters
Type | Name | Description |
---|---|---|
Util.BytesRef | b |
Returns
Type | Description |
---|---|
System.Int32 |
Int32ToBytesRef(Int32)
Encodes an
NOTE: This was intToBytesRef() in Lucene
Declaration
public static Util.BytesRef Int32ToBytesRef(int v)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | v |
Returns
Type | Description |
---|---|
Util.BytesRef |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |