Package version:
Optional
Readonly
captions?: QueryCaptionResult[]Captions are the most representative passages from the document relatively to the search query. They are often used as document summary. Captions are only returned for queries of type 'semantic'. NOTE: This property will not be serialized. It can only be populated by the server.
Optional
Readonly
documentContains debugging information that can be used to further explore your search results. NOTE: This property will not be serialized. It can only be populated by the server.
Optional
Readonly
highlights?: {Text fragments from the document that indicate the matching search terms, organized by each applicable field; null if hit highlighting was not enabled for the query. NOTE: This property will not be serialized. It can only be populated by the server.
Optional
Readonly
rerankerThe relevance score computed by the semantic ranker for the top search results. Search results are sorted by the RerankerScore first and then by the Score. RerankerScore is only returned for queries of type 'semantic'. NOTE: This property will not be serialized. It can only be populated by the server.
Readonly
score: numberThe relevance score of the document compared to other documents returned by the query. NOTE: This property will not be serialized. It can only be populated by the server.
Contains a document found by a search query, plus associated metadata.