C# Class Lucene.Net.Facet.MultiFacets

Maps specified dims to provided Facets impls; else, uses the default Facets impl.
Inheritance: Lucene.Net.Facet.Facets
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
GetAllDims ( int topN ) : List
GetSpecificValue ( string dim ) : float
GetTopChildren ( int topN, string dim ) : FacetResult
MultiFacets ( Facets>.IDictionary dimToFacets, Lucene.Net.Facet.Facets defaultFacets = null ) : System.Collections.Generic

Create this, with the specified default Facets for fields not included in dimToFacets.

Method Details

GetAllDims() public method

public GetAllDims ( int topN ) : List
topN int
return List

GetSpecificValue() public method

public GetSpecificValue ( string dim ) : float
dim string
return float

GetTopChildren() public method

public GetTopChildren ( int topN, string dim ) : FacetResult
topN int
dim string
return FacetResult

MultiFacets() public method

Create this, with the specified default Facets for fields not included in dimToFacets.
public MultiFacets ( Facets>.IDictionary dimToFacets, Lucene.Net.Facet.Facets defaultFacets = null ) : System.Collections.Generic
dimToFacets Facets>.IDictionary
defaultFacets Lucene.Net.Facet.Facets
return System.Collections.Generic