Java org.apache.lucene.document StoredField fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.document StoredField fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.document StoredField.

The text is from its open source code.

Field

FieldTypeTYPE
Type for a stored-only field.

Constructor

StoredField(String name, FieldType type)
Expert: allows you to customize the FieldType .
StoredField(String name, byte[] value)
Create a stored-only field with the given binary value.
StoredField(String name, BytesRef value)
Create a stored-only field with the given binary value.
StoredField(String name, String value)
Create a stored-only field with the given string value.
StoredField(String name, int value)
Create a stored-only field with the given integer value.
StoredField(String name, float value)
Create a stored-only field with the given float value.
StoredField(String name, long value)
Create a stored-only field with the given long value.
StoredField(String name, double value)
Create a stored-only field with the given double value.
StoredField(String name, byte[] value, int offset, int length)
Create a stored-only field with the given binary value.

Method

voidsetLongValue(long value)
Expert: change the value of this field.
StringstringValue()
The value of the field as a String, or null.