Table of Contents

Method Search

Namespace
Oscova.Agents.Search
Assembly
Oscova.Agents.dll

Search(string, IReadOnlyList<LexicalSearchDocument>, int)

Returns the ids of the best matches, most relevant first, capped to maxResults.

public static IReadOnlyList<string> Search(string query, IReadOnlyList<LexicalSearchDocument> documents, int maxResults)

Parameters

query string
documents IReadOnlyList<LexicalSearchDocument>
maxResults int

Returns

IReadOnlyList<string>