diff --git a/packages/plugin-qps/src/algorithm.ts b/packages/plugin-qps/src/algorithm.ts index 44d53f44..571bec1b 100644 --- a/packages/plugin-qps/src/algorithm.ts +++ b/packages/plugin-qps/src/algorithm.ts @@ -150,8 +150,8 @@ export function searchString(prop: { const boostPerProp = prop.boostPerProp const resultMap = prop.resultMap const whereFiltersIDs = prop.whereFiltersIDs - const tokensLength = stats.tokensLength - const tokenQuantums = stats.tokenQuantums + const tokensLength = prop.stats.tokensLength + const tokenQuantums = prop.stats.tokenQuantums const findParam = { term: '',