Show / Hide Table of Contents

    Class Int32AssociationFacetField

    Add an instance of this to your to add a facet label associated with an . Use TaxonomyFacetSumInt32Associations to aggregate int values per facet label at search time.

    NOTE: This was IntAssociationFacetField in Lucene

    @lucene.experimental

    Inheritance
    System.Object
    AssociationFacetField
    Int32AssociationFacetField
    Inherited Members
    AssociationFacetField.TYPE
    AssociationFacetField.Dim
    AssociationFacetField.Path
    AssociationFacetField.Assoc
    Namespace: Lucene.Net.Facet.Taxonomy
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class Int32AssociationFacetField : AssociationFacetField

    Constructors

    | Improve this Doc View Source

    Int32AssociationFacetField(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 Source

    BytesRefToInt32(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
    | Improve this Doc View Source

    Int32ToBytesRef(Int32)

    Encodes an as a 4-byte , big-endian.

    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
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    AssociationFacetField.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)