Package com.atlassian.jira.search
Interface Field.Builder<T extends Field>
- All Known Implementing Classes:
com.atlassian.jira.search.field.AbstractField.Builder,AnalyzedTextField.Builder,DateTimeField.Builder,DoubleField.Builder,IntField.Builder,KeywordField.Builder,LongField.Builder
- Enclosing interface:
Field
public static interface Field.Builder<T extends Field>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()indexed()stored()Adds a subfield to this field.default Field.Builder<T> subfield(Field.Builder<?> fieldBuilder) Adds a subfield to this field.
-
Method Details
-
indexed
Field.Builder<T> indexed() -
docValues
Field.Builder<T> docValues() -
stored
Field.Builder<T> stored() -
multiValued
Field.Builder<T> multiValued() -
subfield
Adds a subfield to this field. The subfield will be indexed with the same value and cannot be indexed with a different value, for example for handling different sorting behaviour. To do this, index a separate field.- Parameters:
field- the subfield to add- Returns:
- this builder
- Since:
- 10.4
-
subfield
Adds a subfield to this field. The subfield will be indexed with the same value and cannot be indexed with a different value, for example for handling different sorting behaviour. To do this, index a separate field.- Parameters:
fieldBuilder- the builder for the subfield- Returns:
- this builder
- Since:
- 10.4
-
build
T build()
-