set External State
Assigns a SearchState to the search feature, which can be used to highlight search results on the document pages. Use this method with caution, as inconsistent data can lead to unexpected behavior. If you just pass in the the status as you receive it from the search, you should be fine, but be careful when manipulating the results (e.g. removing or adding results).
Parameters
status
The status to set