Class FacetField
Add an instance of this to your
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 SourceFacetField(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 SourceDim
Dimension for this field.
Declaration
public string Dim { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Path
Path for this field.
Declaration
public string[] Path { get; }
Property Value
| Type | Description |
|---|---|
| System.String[] |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
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 |