C# Class Lucene.Net.Facet.FacetField

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

NOTE: you must call FacetsConfig#build(Document) before you add the document to IndexWriter.

Inheritance: Field
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
FacetField ( string dim ) : Lucene.Net.Support

Creates the this from dim and path.

ToString ( ) : string
VerifyLabel ( string label ) : void

Verifies the label is not null or empty string. @lucene.internal

Private Methods

Method Description
FacetField ( ) : Lucene.Net.Support

Method Details

FacetField() public method

Creates the this from dim and path.
public FacetField ( string dim ) : Lucene.Net.Support
dim string
return Lucene.Net.Support

ToString() public method

public ToString ( ) : string
return string

VerifyLabel() public static method

Verifies the label is not null or empty string. @lucene.internal
public static VerifyLabel ( string label ) : void
label string
return void