1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-29 06:48:59 +02:00
Files
flexsearch/example/browser-module/document-worker-extern-config/config.primaryTitle.js
Thomas Wilkerling 0455fa4b74 hotfix typo
2025-03-17 20:05:10 +01:00

17 lines
536 B
JavaScript

import { Encoder, Charset } from "https://cdn.jsdelivr.net/gh/nextapps-de/flexsearch@0.8.0/dist/flexsearch.bundle.module.min.js";
import EnglishPreset from "https://cdn.jsdelivr.net/gh/nextapps-de/flexsearch@0.8.0/dist/module/lang/en.js";
export default {
tokenize: "forward",
encoder: new Encoder(
Charset.LatinBalance,
EnglishPreset,
{
normalize: function(str){
return str.toLowerCase();
},
filter: false,
minlength: 3
}
)
};