Package | Description |
---|---|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
Modifier and Type | Method and Description |
---|---|
static Field.Store |
Field.Store.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Field.Store[] |
Field.Store.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
StringField(String name,
BytesRef value,
Field.Store stored)
Creates a new binary StringField, indexing the provided binary (BytesRef)
value as a single token.
|
StringField(String name,
String value,
Field.Store stored)
Creates a new textual StringField, indexing the provided String value
as a single token.
|
TextField(String name,
String value,
Field.Store store)
Creates a new TextField with String value.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.