C# Class Lucene.Net.Documents.NumericDocValuesField

Field that stores a per-document long value for scoring, sorting or value retrieval. Here's an example usage:

 document.add(new NumericDocValuesField(name, 22L)); 

If you also need to store the value, you should add a separate StoredField instance.

Inheritance: Field
Afficher le fichier Open project: paulirwin/lucene.net Class Usage Examples

Méthodes publiques

Свойство Type Description
TYPE FieldType

Méthodes publiques

Méthode Description
NumericDocValuesField ( string name, long value ) : System

Creates a new DocValues field with the specified 64-bit long value

Private Methods

Méthode Description
NumericDocValuesField ( ) : System

Method Details

NumericDocValuesField() public méthode

Creates a new DocValues field with the specified 64-bit long value
if the field name is null
public NumericDocValuesField ( string name, long value ) : System
name string field name
value long 64-bit long value
Résultat System

Property Details

TYPE public_oe static_oe property

Type for numeric DocValues.
public static FieldType,Lucene.Net.Documents TYPE
Résultat FieldType