typesense-instantsearch-adapter 2.4.2 → 2.5.0-1
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 +6 -5
- package/dist/typesense-instantsearch-adapter.js +7720 -0
- package/dist/typesense-instantsearch-adapter.js.map +1 -0
- package/dist/typesense-instantsearch-adapter.min.js +1 -1
- package/dist/typesense-instantsearch-adapter.min.js.map +1 -1
- package/lib/SearchResponseAdapter.js +92 -4
- package/lib/SearchResponseAdapter.js.map +1 -1
- package/package.json +4 -3
- package/src/SearchResponseAdapter.js +91 -5
package/README.md
CHANGED
|
@@ -88,7 +88,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
88
88
|
nodes: [
|
|
89
89
|
{
|
|
90
90
|
host: "localhost",
|
|
91
|
-
path:
|
|
91
|
+
path: "", // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
92
92
|
port: "8108",
|
|
93
93
|
protocol: "http",
|
|
94
94
|
},
|
|
@@ -146,7 +146,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
146
146
|
{
|
|
147
147
|
host: "localhost",
|
|
148
148
|
port: "8108",
|
|
149
|
-
path:
|
|
149
|
+
path: "", // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
150
150
|
protocol: "http",
|
|
151
151
|
},
|
|
152
152
|
],
|
|
@@ -198,7 +198,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
198
198
|
nodes: [
|
|
199
199
|
{
|
|
200
200
|
host: "localhost",
|
|
201
|
-
path:
|
|
201
|
+
path: "", // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
202
202
|
port: "8108",
|
|
203
203
|
protocol: "http",
|
|
204
204
|
},
|
|
@@ -239,7 +239,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
239
239
|
nodes: [
|
|
240
240
|
{
|
|
241
241
|
host: "localhost",
|
|
242
|
-
path:
|
|
242
|
+
path: "", // Optional. Example: If you have your typesense mounted in localhost:8108/typesense, path should be equal to '/typesense'
|
|
243
243
|
port: "8108",
|
|
244
244
|
protocol: "http",
|
|
245
245
|
},
|
|
@@ -321,7 +321,7 @@ For Federated / Multi-Index Search, you'd need to use the `index` widget. To the
|
|
|
321
321
|
const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
322
322
|
server: {
|
|
323
323
|
apiKey: "abcd", // Be sure to use an API key that only allows search operations
|
|
324
|
-
nodes: [{ host: "localhost", path:
|
|
324
|
+
nodes: [{ host: "localhost", path: "/", port: "8108", protocol: "http" }],
|
|
325
325
|
},
|
|
326
326
|
// Search parameters that are common to all collections/indices go here:
|
|
327
327
|
additionalSearchParameters: {
|
|
@@ -369,6 +369,7 @@ const typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
|
|
|
369
369
|
|
|
370
370
|
| Typesense Server | typesense-instantsearch-adapter | instantsearch.js | react-instantsearch | vue-instantsearch | angular-instantsearch |
|
|
371
371
|
| ---------------- | ------------------------------- | ---------------- | ------------------- | ----------------- | --------------------- |
|
|
372
|
+
| \>= v0.24 | \>= v2.5.0 | \>= 4.2.0 | \>= 6.0.0 | \>= 2.2.1 | \>= 3.0.0 |
|
|
372
373
|
| \>= v0.21 | \>= v2.0.0 | \>= 4.2.0 | \>= 6.0.0 | \>= 2.2.1 | \>= 3.0.0 |
|
|
373
374
|
| \>= v0.19 | \>= v1.0.0 | \>= 4.2.0 | \>= 6.0.0 | \>= 2.2.1 | \>= 3.0.0 |
|
|
374
375
|
| \>= v0.15 | \>= v0.3.0 | \>= 4.2.0 | \>= 6.0.0 | \>= 2.2.1 | \>= 3.0.0 |
|