1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-03 02:42:53 +02:00

refactor index.js filenames #481

This commit is contained in:
Thomas Wilkerling
2025-03-26 19:33:16 +01:00
parent bbccf2d1a6
commit 48e78116d7
51 changed files with 79 additions and 57 deletions

View File

@@ -178,7 +178,7 @@ export default {
Create your index by assigning the configuration file from above:
```js
import { Worker as WorkerIndex } from "flexsearch/esm";
import { Worker as WorkerIndex } from "flexsearch";
const index = await new WorkerIndex(config);
// add data to the index
// ...
@@ -261,7 +261,7 @@ export default {
Create your index by assigning the configuration file from above:
```js
import { Document } from "flexsearch/esm";
import { Document } from "flexsearch";
const document = await new Document(config);
// add data to the index
// ...