Method NewRangeQuery
NewRangeQuery(String, String, String, Boolean, Boolean)
Builds a new TermRangeQuery instance
Declaration
protected virtual Query NewRangeQuery(string field, string part1, string part2, bool startInclusive, bool endInclusive)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | Field |
System.String | part1 | min |
System.String | part2 | max |
System.Boolean | startInclusive | true if the start of the range is inclusive |
System.Boolean | endInclusive | true if the end of the range is inclusive |
Returns
Type | Description |
---|---|
Query | new TermRangeQuery instance |