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
Maximum number of fields to return. Defaults to 20.
2577
+
filter (optional):
2578
+
Dictionary containing filter configuration. All filter properties are optional
2579
+
and can be combined using AND logic. Available filters:
2580
+
- attributePatterns: List of attribute patterns (supports wildcards: * for any characters)
2581
+
Examples: ["cuisine.*", "*_id"] matches cuisine.type and all fields ending with _id
2582
+
- displayed: Boolean - true for only displayed fields, false for only hidden fields
2583
+
- searchable: Boolean - true for only searchable fields, false for only non-searchable fields
2584
+
- sortable: Boolean - true for only sortable fields, false for only non-sortable fields
2585
+
- distinct: Boolean - true for only the distinct field, false for only non-distinct fields
2586
+
- rankingRule: Boolean - true for only fields used in ranking, false for fields not used in ranking
2587
+
- filterable: Boolean - true for only filterable fields, false for only non-filterable fields
2588
+
2589
+
Returns
2590
+
-------
2591
+
FieldsResults:
2592
+
Object containing:
2593
+
- results: List of field metadata dictionaries
2594
+
- offset: Number of fields skipped
2595
+
- limit: Maximum fields returned
2596
+
- total: Total number of fields in the index
2597
+
2598
+
Raises
2599
+
------
2600
+
MeilisearchApiError
2601
+
An error containing details about why Meilisearch can't process your request. Meilisearch error codes are described here: https://www.meilisearch.com/docs/reference/errors/error_codes#meilisearch-errors
0 commit comments