function
Preview
func Preview(
hasGenerator bool,
options ...field.CommonOption,
) field.DefinitionCreate the default presentation-only search-result preview.
Related types
CommonOptionOptions accepted by every built-in and plugin field.
DefinitionAn immutable authored field definition.