1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-25 12:58:59 +02:00
Files
flexsearch/example/browser-module/basic-worker-extern-config/config.js
Thomas Wilkerling 103f617ad5 v0.8.2
2025-05-21 13:43:38 +02:00

10 lines
282 B
JavaScript

import { Encoder } from "https://cdn.jsdelivr.net/gh/nextapps-de/flexsearch@0.8.2/dist/flexsearch.bundle.module.min.js";
export default {
tokenize: "forward",
encoder: new Encoder({
normalize: function(str){
return str.toLowerCase();
}
})
};