Table of Contents

Class LexicalSearchStrategy

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

Ranks documents by deterministic token overlap across title, description, and keywords. Shared so search surfaces do not each grow their own scorer.

public static class LexicalSearchStrategy

Inheritance

Inherited Members

Methods

FindTokenMatches(string, string)

Returns original-text positions of complete query tokens using the search tokenizer.

Search(string, IReadOnlyList<LexicalSearchDocument>, int)

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