MCPcopy Create free account
hub / github.com/codemix/graph / PreparedQuery

Interface PreparedQuery

packages/text-search/src/matcher.ts:83–92  ·  view source on GitHub ↗

* Internal state for a prepared query.

Source from the content-addressed store, hash-verified

81 * Internal state for a prepared query.
82 */
83interface PreparedQuery {
84 /** Original query string (lowercase) */
85 original: string;
86 /** Tokenized and stemmed query terms */
87 tokens: Token[];
88 /** Set of unique stemmed terms */
89 termSet: Set<string>;
90 /** Options used for matching */
91 options: Required<MatcherOptions>;
92}
93
94/**
95 * Default average document length for BM25 normalization.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected