templates.SpanLocationTemplateSchema
- class templates.SpanLocationTemplateSchema(*args, **kwargs)
Span Location template
Parameters
Parameters
Name Type Default Info span_text_field str
Span field. span_field str
Field from which spans are extracted from. operator {"=", "!=", "<", "<=", ">", ">="}
">="
Operator. frequency int
1
Number of occurencens. unit {"chars", "words", "lines", "sentences", "paragraphs"}
"paragraphs"
Unit. start int
0
Start index. end int
sys.maxsize
End index. case_sensitive bool
False
Case sensitive or not.