@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) @Documented public @interface Field
Modifier and Type | Fields and Description |
---|---|
static String |
DEFAULT_NULL_TOKEN
Value for
indexNullAs() parameter indicating that null values should not indexed using the |
static String |
DO_NOT_INDEX_NULL
Default value for
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 not indexed using thepublic 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–2014 Hibernate. All rights reserved.