Sorts by field's natural String sort order. All comparisons are done using String.compareTo, which is slow for medium to large result sets but possibly very fast for very small results sets.

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

Syntax

C#
public sealed class StringValComparator : FieldComparator
Visual Basic
Public NotInheritable Class StringValComparator _
	Inherits FieldComparator
Visual C++
public ref class StringValComparator sealed : public FieldComparator

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search..::..FieldComparator
    Lucene.Net.Search..::..FieldComparator..::..StringValComparator

See Also