typesense-instantsearch-adapter 2.4.2-1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -88,6 +88,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
88
88
|
nodes: [
|
|
89
89
|
{
|
|
90
90
|
host: "localhost",
|
|
91
|
+
path: '', // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
91
92
|
port: "8108",
|
|
92
93
|
protocol: "http",
|
|
93
94
|
},
|
|
@@ -145,6 +146,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
145
146
|
{
|
|
146
147
|
host: "localhost",
|
|
147
148
|
port: "8108",
|
|
149
|
+
path: '', // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
148
150
|
protocol: "http",
|
|
149
151
|
},
|
|
150
152
|
],
|
|
@@ -196,6 +198,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
196
198
|
nodes: [
|
|
197
199
|
{
|
|
198
200
|
host: "localhost",
|
|
201
|
+
path: '', // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
199
202
|
port: "8108",
|
|
200
203
|
protocol: "http",
|
|
201
204
|
},
|
|
@@ -236,6 +239,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
236
239
|
nodes: [
|
|
237
240
|
{
|
|
238
241
|
host: "localhost",
|
|
242
|
+
path: '', // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
239
243
|
port: "8108",
|
|
240
244
|
protocol: "http",
|
|
241
245
|
},
|
|
@@ -317,7 +321,7 @@ For Federated / Multi-Index Search, you'd need to use the `index` widget. To the
|
|
|
317
321
|
const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
318
322
|
server: {
|
|
319
323
|
apiKey: "abcd", // Be sure to use an API key that only allows search operations
|
|
320
|
-
nodes: [{ host: "localhost", port: "8108", protocol: "http" }],
|
|
324
|
+
nodes: [{ host: "localhost", path:'/', port: "8108", protocol: "http" }],
|
|
321
325
|
},
|
|
322
326
|
// Search parameters that are common to all collections/indices go here:
|
|
323
327
|
additionalSearchParameters: {
|
|
@@ -351,6 +355,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
351
355
|
{
|
|
352
356
|
host: "localhost",
|
|
353
357
|
port: "8108",
|
|
358
|
+
path: "/",
|
|
354
359
|
protocol: "http",
|
|
355
360
|
},
|
|
356
361
|
],
|