org.springframework.data.elasticsearch.annotations
Annotation Type Field
@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface Field
- Author:
- Rizwan Idrees, Mohsin Husen, Artur Konczak, Jonathan Yan, Jakub Vavrik
type
public abstract FieldType type
- Default:
- org.springframework.data.elasticsearch.annotations.FieldType.Auto
index
public abstract FieldIndex index
- Default:
- org.springframework.data.elasticsearch.annotations.FieldIndex.analyzed
format
public abstract DateFormat format
- Default:
- org.springframework.data.elasticsearch.annotations.DateFormat.none
pattern
public abstract String pattern
- Default:
- ""
store
public abstract boolean store
- Default:
- false
searchAnalyzer
public abstract String searchAnalyzer
- Default:
- ""
indexAnalyzer
public abstract String indexAnalyzer
- Default:
- ""
ignoreFields
public abstract String[] ignoreFields
- Default:
- {}
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.