C# 클래스 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.

상속: Field
파일 보기 프로젝트 열기: paulirwin/lucene.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TYPE FieldType

공개 메소드들

메소드 설명
NumericDocValuesField ( string name, long value ) : System

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

비공개 메소드들

메소드 설명
NumericDocValuesField ( ) : System

메소드 상세

NumericDocValuesField() 공개 메소드

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
리턴 System

프로퍼티 상세

TYPE 공개적으로 정적으로 프로퍼티

Type for numeric DocValues.
public static FieldType,Lucene.Net.Documents TYPE
리턴 FieldType