Class FieldCacheRangeFilter<T>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class FieldCacheRangeFilter<T> : Filter
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceFieldCacheRangeFilter(String, FieldCache.IParser, T, T, Boolean, Boolean)
Declaration
protected FieldCacheRangeFilter(string field, FieldCache.IParser parser, T lowerVal, T upperVal, bool includeLower, bool includeUpper)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
FieldCache.IParser | parser | |
T | lowerVal | |
T | upperVal | |
System.Boolean | includeLower | |
System.Boolean | includeUpper |
Properties
| Improve this Doc View SourceField
Returns the field name for this filter
Declaration
public virtual string Field { get; }
Property Value
Type | Description |
---|---|
System.String |
IncludesLower
Returns true
if the lower endpoint is inclusive
Declaration
public virtual bool IncludesLower { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IncludesUpper
Returns true
if the upper endpoint is inclusive
Declaration
public virtual bool IncludesUpper { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LowerVal
Returns the lower value of this range filter
Declaration
public virtual T LowerVal { get; }
Property Value
Type | Description |
---|---|
T |
Parser
Returns the current numeric parser (null
for T
is System.String)
Declaration
public virtual FieldCache.IParser Parser { get; }
Property Value
Type | Description |
---|---|
FieldCache.IParser |
UpperVal
Returns the upper value of this range filter
Declaration
public virtual T UpperVal { get; }
Property Value
Type | Description |
---|---|
T |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override sealed bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetDocIdSet(AtomicReaderContext, IBits)
This method is implemented for each data type
Declaration
public abstract override DocIdSet GetDocIdSet(AtomicReaderContext context, IBits acceptDocs)
Parameters
Type | Name | Description |
---|---|---|
AtomicReaderContext | context | |
IBits | acceptDocs |
Returns
Type | Description |
---|---|
DocIdSet |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override sealed int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
ToString()
Declaration
public override sealed string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()