Gets the integer id of the document.
This id will be used for a request with a DocumentIdConverterInterface.
Warning : this id may change depending on the build you connect to.
The integer id of the document.
Gets the highlight result of the search query.
The highlight result consists in a map with 'metadata name' => array of strings that contain the search query. An empty 'metadata name' means a full text search result.
DO NOT modify this data in place, this results in undefined behavior.
Gets the metadata of the document.
Its content depends on the filter parameter set on the search request (search).
DO NOT modify this data in place, this results in undefined behavior.
A SearchDocumentResultInterface interface is the result of a search request (SearchInterface).
It contains :
part instancerelative to the search request is in the filtering context of the search query.The metadata document may be used to customize the display of the search result. This metadata document is filtered with the list of metadata names set in the (search query.
The document Id may be used in a [DocumentIdConverterInterface]] to get the
part instance idsthat are referenced by this metadata document.or asynchronously :
Please make sure the destination browser supports promises before using async calls.
See