This version of Unity is unsupported.

SearchResult Constructor

Declaration

public SearchResult(string id, int index, int score);

Declaration

public SearchResult(int index);

Declaration

public SearchResult(int index, int score);

Parameters

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.

Description

Creates a new SearchResult.