* Internal state for a prepared query.
| 81 | * Internal state for a prepared query. |
| 82 | */ |
| 83 | interface 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. |
nothing calls this directly
no outgoing calls
no test coverage detected