diff --git a/README.md b/README.md
index 19f73c6..18b0eec 100644
--- a/README.md
+++ b/README.md
@@ -1548,7 +1548,7 @@ const flexsearch = new Document({
// the field name needs to be set here
field: "custom_field",
// path to your config from above:
- config: "./config.js",
+ config: "./custom_field.js",
}]
}
});
@@ -1582,7 +1582,7 @@ const flexsearch = await new Document({
// the field name needs to be set here
field: "custom_field",
// Absolute URL to your config from above:
- config: "http://localhost/config.js"
+ config: "http://localhost/custom_field.js"
}]
}
});
@@ -1601,7 +1601,7 @@ Tokens: 128,898,832
The used index configuration has 2 fields (using bidirectional context of `depth: 1`), 1 custom field, 2 tags and a full datastore of all input json documents.
A non-Worker Document index requires 181 seconds to index all contents.
-The Worker index takes just 32 seconds to index them all, by processing every field and tag in parallel. For such large content it is a quite impressive result.
+The Worker index just takes 32 seconds to index them all, by processing every field and tag in parallel. For such large content it is a quite impressive result.
## Fuzzy-Search
diff --git a/dist/module-debug/worker/node.js b/dist/module-debug/worker/node.js
index ba05f24..f95541c 100644
--- a/dist/module-debug/worker/node.js
+++ b/dist/module-debug/worker/node.js
@@ -1,11 +1,10 @@
const { parentPort } = require("worker_threads"),
{ join } = require("path"),
- { Index } = require("../../dist/flexsearch.bundle.min.js");
-// TODO EXCHANGE
+ { Index } = require("../flexsearch.bundle.min.js");
+// Test Path
+//const { Index } = require("../../dist/flexsearch.bundle.min.js");
-//const { Index } = require("../flexsearch.bundle.min.js");
-
let index;
parentPort.on("message", function (data) {
diff --git a/dist/module/worker/node.js b/dist/module/worker/node.js
index ba05f24..f95541c 100644
--- a/dist/module/worker/node.js
+++ b/dist/module/worker/node.js
@@ -1,11 +1,10 @@
const { parentPort } = require("worker_threads"),
{ join } = require("path"),
- { Index } = require("../../dist/flexsearch.bundle.min.js");
-// TODO EXCHANGE
+ { Index } = require("../flexsearch.bundle.min.js");
+// Test Path
+//const { Index } = require("../../dist/flexsearch.bundle.min.js");
-//const { Index } = require("../flexsearch.bundle.min.js");
-
let index;
parentPort.on("message", function (data) {
diff --git a/dist/node/node.js b/dist/node/node.js
index bea6cd6..c0ac30f 100644
--- a/dist/node/node.js
+++ b/dist/node/node.js
@@ -1,8 +1,8 @@
const { parentPort } = require("worker_threads");
const { join } = require("path");
-// TODO EXCHANGE
-const { Index } = require("../../dist/flexsearch.bundle.min.js");
-//const { Index } = require("../flexsearch.bundle.min.js");
+// Test Path
+//const { Index } = require("../../dist/flexsearch.bundle.min.js");
+const { Index } = require("../flexsearch.bundle.min.js");
let index;
diff --git a/src/worker/node.js b/src/worker/node.js
index bea6cd6..c0ac30f 100644
--- a/src/worker/node.js
+++ b/src/worker/node.js
@@ -1,8 +1,8 @@
const { parentPort } = require("worker_threads");
const { join } = require("path");
-// TODO EXCHANGE
-const { Index } = require("../../dist/flexsearch.bundle.min.js");
-//const { Index } = require("../flexsearch.bundle.min.js");
+// Test Path
+//const { Index } = require("../../dist/flexsearch.bundle.min.js");
+const { Index } = require("../flexsearch.bundle.min.js");
let index;