1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-10-02 08:06:42 +02:00
Files
flexsearch/example/browser-module/basic-worker-extern-config/config.js
Thomas Wilkerling a975b063c7 update examples
2025-03-17 01:13:36 +01:00

10 lines
316 B
JavaScript

import { Encoder } from "https://rawcdn.githack.com/nextapps-de/flexsearch/9e1b24a124c3d0065b4ddf5cea9d109aca2fb7d2/dist/flexsearch.bundle.module.min.js";
export default {
tokenize: "forward",
encoder: new Encoder({
normalize: function(str){
return str.toLowerCase();
}
})
};