@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) @Documented @Repeatable(value=Fields.class) public @interface Field
Modifier and Type | Fields and Description |
---|---|
static String |
DEFAULT_NULL_TOKEN
Value for the
indexNullAs() parameter indicating that null values should be indexed using the null
token given through the Environment.DEFAULT_NULL_TOKEN configuration property. |
static String |
DO_NOT_INDEX_NULL
Default value for the
indexNullAs() parameter. |
Modifier and Type | Optional Element and Description |
---|---|
Analyze |
analyze |
Analyzer |
analyzer |
Boost |
boost |
FieldBridge |
bridge |
Index |
index |
String |
indexNullAs |
String |
name |
Norms |
norms |
Store |
store |
TermVector |
termVector |
public static final String DO_NOT_INDEX_NULL
indexNullAs()
parameter. Indicates that null
values should not be indexed.public static final String DEFAULT_NULL_TOKEN
indexNullAs()
parameter indicating that null
values should be indexed using the null
token given through the Environment.DEFAULT_NULL_TOKEN
configuration property.
If no value is given for that property, the token _null_
will be used.public abstract String name
public abstract Store store
Store
enum type indicating whether the value should be stored in the document. Defaults to Store.NO
.public abstract Index index
Index
enum defining whether the value should be indexed or not. Defaults to Index.YES
.public abstract Analyze analyze
Analyze
enum defining whether the value should be analyzed or not. Defaults to Analyze.YES
.public abstract Norms norms
Norms
enum defining whether the norms should be stored in the index or not. Defaults to Norms.YES
.public abstract TermVector termVector
TermVector
enum defining if and how term vectors are stored. Defaults to TermVector.NO
.public abstract Analyzer analyzer
public abstract Boost boost
public abstract FieldBridge bridge
public abstract String indexNullAs
null
. Per default Field.NO_NULL_INDEXING
is returned indicating that
null values are not indexed.Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved