Releases
v0.2.2
Compare
Sorry, something went wrong.
No results found
Added
ScoltaConfig::$language (default 'en'): ISO 639-1 language code passed to WASM for stop word filtering.
ScoltaConfig::$customStopWords (default []): Additional stop words layered on top of the built-in language list.
ScoltaConfig::$recencyStrategy (default 'exponential'): Recency decay function — exponential, linear, step, none, or custom.
ScoltaConfig::$recencyCurve (default []): Control points [[days, boost], …] for the custom recency strategy.
batchScoreResults(queries) in scolta.js: JS wrapper around the WASM batch_score_results export; exposed on Scolta global and instance API.
Changed
ScoltaConfig::toJsScoringConfig() now includes LANGUAGE, CUSTOM_STOP_WORDS, RECENCY_STRATEGY, and RECENCY_CURVE keys.
scolta.js getConfig() / getInstanceConfig() read the four new scoring keys from window.scolta.scoring with safe ?? defaults.
You can’t perform that action at this time.