Class SpanFirstQuery
Matches spans near the beginning of a field.
This class is a simple extension of SpanPositionRangeQuery in that it assumes the
start to be zero and only checks the end boundary.
Inheritance
System.Object
SpanFirstQuery
Assembly: Lucene.Net.dll
Syntax
public class SpanFirstQuery : SpanPositionRangeQuery
Constructors
|
Improve this Doc
View Source
SpanFirstQuery(SpanQuery, Int32)
Construct a SpanFirstQuery matching spans in match
whose end
position is less than or equal to end
.
Declaration
public SpanFirstQuery(SpanQuery match, int end)
Parameters
Type |
Name |
Description |
SpanQuery |
match |
|
System.Int32 |
end |
|
Methods
|
Improve this Doc
View Source
AcceptPosition(Spans)
Declaration
protected override SpanPositionCheckQuery.AcceptStatus AcceptPosition(Spans spans)
Parameters
Type |
Name |
Description |
Spans |
spans |
|
Returns
Overrides
|
Improve this Doc
View Source
Clone()
Declaration
public override object Clone()
Returns
Type |
Description |
System.Object |
|
Overrides
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
ToString(String)
Declaration
public override string ToString(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Returns
Type |
Description |
System.String |
|
Overrides