Class DocTermOrdsRangeFilter
Inheritance
System.Object
DocTermOrdsRangeFilter
Assembly: Lucene.Net.dll
Syntax
public abstract class DocTermOrdsRangeFilter : Filter
Properties
|
Improve this Doc
View Source
Field
Returns the field name for this filter
Declaration
public virtual string Field { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IncludesLower
Returns true
if the lower endpoint is inclusive
Declaration
public virtual bool IncludesLower { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IncludesUpper
Returns true
if the upper endpoint is inclusive
Declaration
public virtual bool IncludesUpper { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LowerVal
Returns the lower value of this range filter
Declaration
public virtual BytesRef LowerVal { get; }
Property Value
|
Improve this Doc
View Source
UpperVal
Returns the upper value of this range filter
Declaration
public virtual BytesRef UpperVal { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override sealed bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
|
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
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override sealed int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NewBytesRefRange(String, BytesRef, BytesRef, Boolean, Boolean)
Creates a BytesRef range filter using GetTermsIndex(AtomicReader, String, Single). This works with all
fields containing zero or one term in the field. The range can be half-open by setting one
of the values to null
.
Declaration
public static DocTermOrdsRangeFilter NewBytesRefRange(string field, BytesRef lowerVal, BytesRef upperVal, bool includeLower, bool includeUpper)
Parameters
Type |
Name |
Description |
System.String |
field |
|
BytesRef |
lowerVal |
|
BytesRef |
upperVal |
|
System.Boolean |
includeLower |
|
System.Boolean |
includeUpper |
|
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override sealed string ToString()
Returns
Type |
Description |
System.String |
|