文档

Unity Engine

Unity Engine

SearchResult

Creates a new SearchResult.
阅读时间1 分钟最后更新于 1 个月前

Definition

SearchResult(string, int, int)

Creates a new SearchResult.
public SearchResult(string id, int index, int score)

Parameters

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.

SearchResult(int)

Creates a new SearchResult.
public SearchResult(int index)

Parameters

index

Index of the document containing the result.

SearchResult(int, int)

Creates a new SearchResult.
public SearchResult(int index, int score)

Parameters

index

Index of the document containing the result.

score

Relevance core of the result. A lower score indicates it is a more relevant result.