Version: 2021.1

SearchResultConstructor

切换到手册
public SearchResult (string id, int index, int score);
public SearchResult (int index);
public SearchResult (int index, int score);

参数

id ID of the document containing the result.
index Index of the document containing the result.
score Relevance core of the result. A lower score indicates it is a more relevant result.

描述

Creates a new SearchResult.