typesense-instantsearch-adapter 2.4.1-2 → 2.4.1-3
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 +2 -2
- package/dist/typesense-instantsearch-adapter.min.js +1 -1
- package/dist/typesense-instantsearch-adapter.min.js.map +1 -1
- package/lib/Configuration.js +6 -2
- package/lib/Configuration.js.map +1 -1
- package/lib/SearchResponseAdapter.js +6 -5
- package/lib/SearchResponseAdapter.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -297,12 +297,12 @@ The generalized pattern for the value attribute is: `<index_name>[/sort/<sort_by
|
|
|
297
297
|
|
|
298
298
|
### `configure`
|
|
299
299
|
|
|
300
|
-
If you need to specify a `filter_by` search parameter for Typesense, you want to use the `configure` InstantSearch widget, along with `facetFilters`, `numericFilters` or `filters`.
|
|
300
|
+
If you need to specify a `filter_by` search parameter for Typesense, you want to use the `configure` InstantSearch widget, along with `facetFilters`, `numericFilters` or `filters`.
|
|
301
301
|
|
|
302
302
|
The format for `facetFilters` and `numericFilters` is the same as Algolia's as described [here](https://www.algolia.com/doc/api-reference/api-parameters/facetFilters/).
|
|
303
303
|
But `filters` needs to be in Typesense's `filter_by` format as described in this table [here](https://typesense.org/docs/latest/api/documents.html#query-parameters).
|
|
304
304
|
|
|
305
|
-
Setting `filter_by` inside the `additionalQueryParameters` config only works when the widgets are loaded initially, because InstantSearch internally overrides the `filter_by` field subsequently.
|
|
305
|
+
Setting `filter_by` inside the `additionalQueryParameters` config only works when the widgets are loaded initially, because InstantSearch internally overrides the `filter_by` field subsequently.
|
|
306
306
|
Read more [here](https://github.com/typesense/typesense-instantsearch-adapter/issues/17#issuecomment-746912375).
|
|
307
307
|
|
|
308
308
|
### `index`
|