Class Range
Base class for a single labeled range.
@lucene.experimental
Namespace: Lucene.Net.Facet.Range
Assembly: Lucene.Net.Facet.dll
Syntax
public abstract class Range : object
Constructors
| Improve this Doc View SourceRange(String)
Sole constructor.
Declaration
protected Range(string label)
Parameters
Type | Name | Description |
---|---|---|
System.String | label |
Properties
| Improve this Doc View SourceLabel
Label that identifies this range.
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFailNoMatch()
Invoke this for a useless range.
Declaration
protected virtual void FailNoMatch()
GetFilter(ValueSource)
Returns a new
Declaration
public virtual Search.Filter GetFilter(ValueSource valueSource)
Parameters
Type | Name | Description |
---|---|---|
ValueSource | valueSource |
Returns
Type | Description |
---|---|
Search.Filter |
GetFilter(Search.Filter, ValueSource)
Returns a new fastMatchFilter
,
if non-null, will first be consulted, and only if
that is set for each document will the range then be
checked.
Declaration
public abstract Search.Filter GetFilter(Search.Filter fastMatchFilter, ValueSource valueSource)
Parameters
Type | Name | Description |
---|---|---|
Search.Filter | fastMatchFilter | |
ValueSource | valueSource |
Returns
Type | Description |
---|---|
Search.Filter |