C# Class Lucene.Net.Util.NumericUtils.IntRangeBuilder

Callback for #splitIntRange. You need to overwrite only one of the methods. @lucene.internal @since 2.9, API changed non backwards-compliant in 4.0
ファイルを表示 Open project: paulirwin/lucene.net

Public Methods

Method Description
AddRange ( BytesRef minPrefixCoded, BytesRef maxPrefixCoded ) : void

Overwrite this method, if you like to receive the already prefix encoded range bounds. You can directly build classical range (inclusive) queries from them.

AddRange ( int min, int max, int shift ) : void

Overwrite this method, if you like to receive the raw int range bounds. You can use this for e.g. debugging purposes (print out range bounds).

Method Details

AddRange() public method

Overwrite this method, if you like to receive the already prefix encoded range bounds. You can directly build classical range (inclusive) queries from them.
public AddRange ( BytesRef minPrefixCoded, BytesRef maxPrefixCoded ) : void
minPrefixCoded BytesRef
maxPrefixCoded BytesRef
return void

AddRange() public method

Overwrite this method, if you like to receive the raw int range bounds. You can use this for e.g. debugging purposes (print out range bounds).
public AddRange ( int min, int max, int shift ) : void
min int
max int
shift int
return void