Show / Hide Table of Contents

    Class FacetField

    Add an instance of this to your for every facet label.

    NOTE: you must call Build(Document) before you add the document to .

    Inheritance
    System.Object
    FacetField
    Namespace: Lucene.Net.Facet
    Assembly: Lucene.Net.Facet.dll
    Syntax
    public class FacetField : Field

    Constructors

    | Improve this Doc View Source

    FacetField(String, String[])

    Creates the this from dim and path.

    Declaration
    public FacetField(string dim, params string[] path)
    Parameters
    Type Name Description
    System.String dim
    System.String[] path

    Properties

    | 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

    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

    VerifyLabel(String)

    Verifies the label is not null or empty string.

    @lucene.internal

    Declaration
    public static void VerifyLabel(string label)
    Parameters
    Type Name Description
    System.String label
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)