Short field name which will be used for request parameters for example in sorting and
filtering, as well as response field names.
Miscellaneous attributes for this field.
FieldDefinition.FieldDefinitionBuilder.combined(boolean combined)
Whether or not this field should be a combination of multiple path values.
If this is a combined field, this is the delimiter string which should separate the values
found from the propertyPaths.
FieldDefinition.FieldDefinitionBuilder.facet(Facet facet)
The facet which is driven by this field.
FieldDefinition.FieldDefinitionBuilder.faceted(boolean faceted)
Indicates if this field has a facet.
The field variant type which should be faceted on.
Defines how this field should be queried by variants on particular query types.
A map of each field variant type to the corresponding
FieldVariant
.
FieldDefinition.FieldDefinitionBuilder.id(String id)
The context ID of the field.
The type to which this field belongs.
FieldDefinition.FieldDefinitionBuilder.label(String label)
The label of the field, suitable for display.
FieldDefinition.FieldDefinitionBuilder.multiValued(boolean multiValued)
Whether or not this field should contain a list of values.
For fields which are both multiValued
AND combined
, this will be path to
the list containing the objects representing each value.
The JSON path of this field excluding the root prefix, "$.".
If this is a combined field, these are the JSON paths to the fields to be combined into the
final value, excluding the root prefix, "$.".
FieldDefinition.FieldDefinitionBuilder.searchable(boolean searchable)
Whether or not the search query should be applied to this field on search.
FieldDefinition.FieldDefinitionBuilder.sortable(boolean sortable)
Indicates if this field is sortable.
The sort option which is driven by this field.
The field variant type which should be sorted on.
FieldDefinition.FieldDefinitionBuilder.translatable(boolean translatable)
Indicates if this field is translatable.
The specific typed variants for this field.