Example usage for Java org.apache.lucene.document StoredField fields, constructors, methods, implement or subclass
The text is from its open source code.
FieldType | TYPE Type for a stored-only field. |
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. |
void | setLongValue(long value) Expert: change the value of this field. |
String | stringValue() The value of the field as a String, or null. |