C# Class Lucene.Net.Facet.Range.RangeFacetCounts

Base class for range faceting. @lucene.experimental
Inheritance: Lucene.Net.Facet.Facets
Mostra file Open project: apache/lucenenet

Protected Properties

Property Type Description
counts int[]
fastMatchFilter Filter
field string
ranges Lucene.Net.Facet.Range.Range[]
totCount int

Public Methods

Method Description
GetAllDims ( int topN ) : List
GetSpecificValue ( string dim ) : float
GetTopChildren ( int topN, string dim ) : FacetResult

Protected Methods

Method Description
RangeFacetCounts ( string field, Range ranges, Filter fastMatchFilter ) : System.Collections.Generic

Create RangeFacetCounts

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 Lucene.Net.Facet.FacetResult

RangeFacetCounts() protected method

Create RangeFacetCounts
protected RangeFacetCounts ( string field, Range ranges, Filter fastMatchFilter ) : System.Collections.Generic
field string
ranges Range
fastMatchFilter Filter
return System.Collections.Generic

Property Details

counts protected_oe property

Counts, initialized in by subclass.
protected int[] counts
return int[]

fastMatchFilter protected_oe property

Optional: if specified, we first test this Filter to see whether the document should be checked for matching ranges. If this is null, all documents are checked.
protected Filter fastMatchFilter
return Filter

field protected_oe property

Our field name.
protected string field
return string

ranges protected_oe property

Ranges passed to constructor.
protected Range[],Lucene.Net.Facet.Range ranges
return Lucene.Net.Facet.Range.Range[]

totCount protected_oe property

Total number of hits.
protected int totCount
return int