Dela via


SearchResult<T> Class

Definition

Contains a document found by a search query, plus associated metadata.

public class SearchResult<T>
type SearchResult<'T> = class
Public Class SearchResult(Of T)

Type Parameters

T

The .NET type that maps to the index schema. Instances of this type can be retrieved as documents from the index.

Inheritance
SearchResult<T>

Properties

Document

The document found by the search query.

DocumentDebugInfo

Contains debugging information that can be used to further explore your search results.

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.

Score

The relevance score of the document compared to other documents returned by the query.

SemanticSearch

Gets the semantic search result.

Applies to