Initializes a new instance of the FieldComparator..::..StringOrdValComparator class

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public StringOrdValComparator(
	int numHits,
	string field,
	int sortPos,
	bool reversed
)
Visual Basic
Public Sub New ( _
	numHits As Integer, _
	field As String, _
	sortPos As Integer, _
	reversed As Boolean _
)
Visual C++
public:
StringOrdValComparator(
	int numHits, 
	String^ field, 
	int sortPos, 
	bool reversed
)

Parameters

numHits
Type: System..::..Int32

[Missing <param name="numHits"/> documentation for "M:Lucene.Net.Search.FieldComparator.StringOrdValComparator.#ctor(System.Int32,System.String,System.Int32,System.Boolean)"]

field
Type: System..::..String

[Missing <param name="field"/> documentation for "M:Lucene.Net.Search.FieldComparator.StringOrdValComparator.#ctor(System.Int32,System.String,System.Int32,System.Boolean)"]

sortPos
Type: System..::..Int32

[Missing <param name="sortPos"/> documentation for "M:Lucene.Net.Search.FieldComparator.StringOrdValComparator.#ctor(System.Int32,System.String,System.Int32,System.Boolean)"]

reversed
Type: System..::..Boolean

[Missing <param name="reversed"/> documentation for "M:Lucene.Net.Search.FieldComparator.StringOrdValComparator.#ctor(System.Int32,System.String,System.Int32,System.Boolean)"]

See Also