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
Meilisearch uses [dio](https://pub.dev/packages/dio) internally to send requests, you can provide it with your own interceptors or adapter using the `MeiliSearchClient.withCustomDio` constructor.
209
+
210
+
### Using MeiliDocumentContainer
211
+
212
+
The `MeiliDocumentContainer<T>` class contains meilisearch-specific fields (e.g. `rankingScoreDetails`, `_formatted`, `matchesPosition`, etc...).
213
+
214
+
We define the `mapToContainer()` extension to help you quickly opt-in to this class, example:
215
+
216
+
```dart
217
+
final res = await index
218
+
.search("hello world")
219
+
.asSearchResult() //or .asPaginatedResult() if using page parameters
220
+
.mapToContainer();
221
+
```
222
+
201
223
## 🤖 Compatibility with Meilisearch
202
224
203
225
This package guarantees compatibility with [version v1.x of Meilisearch](https://github.com/meilisearch/meilisearch/releases/tag/latest), but some features may not be present. Please check the [issues](https://github.com/meilisearch/meilisearch-dart/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+label%3Aenhancement) for more info.
0 commit comments