Skip to content

Commit 2126a67

Browse files
committed
chore(search): stop exporting stemmedTerms now only text-match uses it
1 parent 44f7b78 commit 2126a67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/sim-search/live/text-match.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function termCoverage(text: string, terms: readonly string[]): number {
125125
* Query and text words are compared by their singular key, so a word and its regular plural count
126126
* as one term; a term with punctuation inside it is matched as written.
127127
*/
128-
export function stemmedTerms(query: string): {
128+
function stemmedTerms(query: string): {
129129
count: number
130130
/** At least half the terms, the minimum a partial match must hold. */
131131
required: number

0 commit comments

Comments
 (0)