You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/autocomplete-client/README.md
+7-13Lines changed: 7 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,8 @@ Since `autocomplete.js` provides the possibility to use a custom `data source`,
43
43
44
44
For general information on how to use Meilisearch—such as our API reference, tutorials, guides, and in-depth articles—refer to our [main documentation website](https://docs.meilisearch.com/).
45
45
46
+
For information on how to use the `autocomplete` library refer to its [documentation](https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/). It provides all the necessery information to set up your autocomplete experience.
47
+
46
48
## 🔧 Installation
47
49
48
50
Use `npm` or `yarn` to install the autocomplete client for Meilisearch.
To make `autocomplete` work with meilisearch, create the `autocompleteSearchClient` and provide it to the `getMeilisearchResults` method as the searchClient.
75
+
To make `autocomplete` work with Meilisearch, create the `autocompleteSearchClient` and provide it to the `getMeilisearchResults` method as the `searchClient`.
74
76
The following code provides a basic working code example.
@@ -192,9 +193,7 @@ The other strategy is `all`, where both `hello` and `world` **must** be present
192
193
193
194
194
195
```js
195
-
{
196
-
matchingStrategy:'all'// default last
197
-
}
196
+
{ matchingStrategy:'all' } // default last
198
197
```
199
198
200
199
### Request Config
@@ -233,11 +232,6 @@ You can use your own HTTP client, for example, with [`axios`](https://github.com
233
232
}
234
233
```
235
234
236
-
## More Documentation
237
-
238
-
- The open-source `autocomplete` library is widely used and well documented in the [Algolia documentation](https://www.algolia.com/doc/ui-libraries/autocomplete/introduction/what-is-autocomplete/). It provides all the necessery information to set up your autocomplete experience.
239
-
- The [Meilisearch documentation](https://docs.meilisearch.com/).
240
-
241
235
## 🤖 Compatibility with Meilisearch and Autocomplete
242
236
243
237
**Supported autocomplete versions**:
@@ -247,12 +241,12 @@ This package only guarantees the compatibility with the [version v1.x.x of Autoc
247
241
**API compatibility with `autocomplete`**
248
242
Some `autocomplete` parameters are not working using the meilisearch autocomplete client.
249
243
250
-
- The autocomplete [insights] parameters (https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-js/autocomplete/#param-insights)
244
+
- The autocomplete [insights parameter](https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-js/autocomplete/#param-insights)
251
245
- The [autocomplete-plugin-algolia-insights](https://www.algolia.com/doc/ui-libraries/autocomplete/api-reference/autocomplete-plugin-algolia-insights/) plugin
252
246
253
247
**Supported Meilisearch versions**:
254
248
255
-
This package only guarantees the compatibility with the [version v1.0.0 of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/v1.0.0).
249
+
This package guarantees compatibility with [version v1.x of Meilisearch](https://github.com/meilisearch/meilisearch/releases/latest), but some features may not be present. Please check the [issues](https://github.com/meilisearch/instant-meilisearch/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3Aenhancement) for more info.
0 commit comments