Skip to main content
Version: 0.93

templates.SpanContentTemplateSchema

class templates.SpanContentTemplateSchema(*args, **kwargs)

Span Content template

Parameters

NameTypeDefaultInfo
span_text_fieldstrSpan field.
span_fieldstrField from which spans are extracted.
operator{"MATCHES", "CONTAINS", "STARTS", "ENDS"}Operator.
valuestrPattern.
regexboolFalseIf True, the pattern is treated as a regex.
case_sensitiveboolFalseCase sensitive or not.
tokenizeboolFalseTokenize or not.