"Added english language"

This commit is contained in:
Cris Stringfellow 2021-12-16 22:12:17 +08:00
parent fd7872b0df
commit c07fa8b270
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ let Fs, Mode, Close;
const {Index: FTSIndex, registerCharset, registerLanguage} = FlexSearch; const {Index: FTSIndex, registerCharset, registerLanguage} = FlexSearch;
const FLEX_OPTS = { const FLEX_OPTS = {
context: true, context: true,
language: "en"
}; };
const Targets = new Map(); const Targets = new Map();
const UpdatedKeys = new Set(); const UpdatedKeys = new Set();