mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-11 16:44:18 +02:00
update examples
This commit is contained in:
10
example/nodejs-esm/basic-worker-extern-config/config.js
Normal file
10
example/nodejs-esm/basic-worker-extern-config/config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Encoder } from "flexsearch/esm";
|
||||
|
||||
export default {
|
||||
tokenize: "forward",
|
||||
encoder: new Encoder({
|
||||
normalize: function(str){
|
||||
return str.toLowerCase();
|
||||
}
|
||||
})
|
||||
};
|
Reference in New Issue
Block a user