Class Highlight (0.7.12)

Highlight(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A text span in the search text snippet that represents a highlighted section (answer context, highly relevant sentence, etc.).

Attributes

Name Description
start_index int
Start index of the highlight.
end_index int
End index of the highlight, exclusive.