@Target(value=FIELD) @Retention(value=RUNTIME) public @interface DocProperty
| Modifier and Type | Optional Element and Description |
|---|---|
String |
analyzer
The analyzer to use.
|
float |
boost
Set a boost value specific to this property.
|
boolean |
code
Set this to true to indicate that this property should be un-analysed.
|
String |
copyTo
Set a copyTo field.
|
boolean |
docValues
Set this to false such that doc values are not stored separately for this property.
|
boolean |
enabled
Set to false to disable the field from indexing, it will only be get/set in _source.
|
boolean |
includeInAll
Set this to false to exclude this from the _all property.
|
boolean |
norms
Set to false such that norms are not stored.
|
String |
nullValue
Set a value to use instead of null.
|
DocProperty.Option |
options
The index options for this property.
|
String |
searchAnalyzer
The analyzer to use for searches.
|
boolean |
sortable
Set this to true to get an additional un-analysed 'raw' field to use for sorting etc.
|
boolean |
store
Set to true to have the property additionally stored separately from _source.
|
public abstract boolean code
public abstract boolean sortable
public abstract boolean store
public abstract float boost
public abstract boolean includeInAll
public abstract String searchAnalyzer
public abstract DocProperty.Option options
public abstract boolean docValues
public abstract boolean enabled
public abstract boolean norms
Copyright © 2016. All rights reserved.