Skip to content

Bedrock Runtime  >  Structures  >  SearchResultLocation

SearchResultLocation

Structure Class

SearchResultLocation dataclass

Specifies a search result location within the content array, providing positioning information for cited content using search result index and block positions.

Attributes

end class-attribute instance-attribute
end: int | None = None

The ending position in the content array where the cited content ends.

search_result_index class-attribute instance-attribute
search_result_index: int | None = None

The index of the search result content block where the cited content is found.

start class-attribute instance-attribute
start: int | None = None

The starting position in the content array where the cited content begins.