Class Highlight (0.2.1)

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

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