Show / Hide Table of Contents

    Class AssociationFacetField

    Add an instance of this to your to add a facet label associated with an arbitrary byte[]. This will require a custom Facets implementation at search time; see Int32AssociationFacetField and SingleAssociationFacetField to use existing Facets implementations.

    @lucene.experimental

    Inheritance
    System.Object
    AssociationFacetField
    Int32AssociationFacetField
    SingleAssociationFacetField
    Namespace: Lucene.Net.Facet.Taxonomy
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class AssociationFacetField : Field

    Constructors

    | Improve this Doc View Source

    AssociationFacetField(Util.BytesRef, String, String[])

    Creates this from dim and path and an association

    Declaration
    public AssociationFacetField(Util.BytesRef assoc, string dim, params string[] path)
    Parameters
    Type Name Description
    Util.BytesRef assoc
    System.String dim
    System.String[] path

    Fields

    | Improve this Doc View Source

    TYPE

    Indexed .

    Declaration
    public static readonly FieldType TYPE
    Field Value
    Type Description
    FieldType

    Properties

    | Improve this Doc View Source

    Assoc

    Associated value.

    Declaration
    public Util.BytesRef Assoc { get; }
    Property Value
    Type Description
    Util.BytesRef
    | Improve this Doc View Source

    Dim

    Dimension for this field.

    Declaration
    public string Dim { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Path

    Facet path for this field.

    Declaration
    public string[] Path { get; }
    Property Value
    Type Description
    System.String[]

    Methods

    | Improve this Doc View Source

    ToString()

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