Lucene.Net.Search.SortField.SortField C# (CSharp) Méthode

SortField() public méthode

Creates a sort by terms in the given field, parsed to numeric values using a custom IFieldCache.Parser.
if the parser fails to /// subclass an existing numeric parser, or field is null
public SortField ( string field, Lucene.Net.Search.FieldCache parser ) : System
field string Name of field to sort by. Must not be null.
parser Lucene.Net.Search.FieldCache Instance of a , /// which must subclass one of the existing numeric /// parsers from . Sort type is inferred /// by testing which numeric parser the parser subclasses.
Résultat System
        public SortField(string field, FieldCache.IParser parser)
            : this(field, parser, false)
        {
        }

Same methods

SortField::SortField ( string field, FieldCache parser, bool reverse ) : System
SortField::SortField ( string field, FieldComparatorSource comparator ) : System
SortField::SortField ( string field, FieldComparatorSource comparator, bool reverse ) : System
SortField::SortField ( string field, Type_e type ) : System
SortField::SortField ( string field, Type_e type, bool reverse ) : System