@@ -35,16 +35,7 @@ This field is mandatory when creating an index and cannot be changed afterwards.
35
35
36
36
The field ` uid ` can be an integer or a string containing only alphanumeric characters, hyphens (-) and underscores (_ ).
37
37
38
- #### 3.1.2. ` name `
39
-
40
- - Type: string
41
- - Required: false
42
-
43
- This field is automatically generated by the engine when creating an index and is equal to the value of ` uid ` .
44
-
45
- It is not possible to give a custom value to ` name ` when creating or updating an index.
46
-
47
- #### 3.1.3. ` primaryKey `
38
+ #### 3.1.2. ` primaryKey `
48
39
49
40
- Type: string
50
41
- Required: false
@@ -60,7 +51,7 @@ Specifying this field tells the engine to use the document attribute specified i
60
51
61
52
When the index is empty, it is possible to modify the ` primaryKey ` .
62
53
63
- #### 3.1.4 . ` createdAt `
54
+ #### 3.1.3 . ` createdAt `
64
55
65
56
- Type: string
66
57
- Required: false
@@ -71,7 +62,7 @@ Automatically generated by the engine at the creation of an index.
71
62
72
63
Represented with the ` RFC 3339 ` format.
73
64
74
- #### 3.1.5 . ` updatedAt `
65
+ #### 3.1.4 . ` updatedAt `
75
66
76
67
- Type: string
77
68
- Required: false
@@ -173,13 +164,10 @@ Fetch an index of a Meilisearch instance.
173
164
| Field | Type | Required |
174
165
| --------------------------| --------------------------| ----------|
175
166
| ` uid ` | string | true |
176
- | ` name ` | string | true |
177
167
| ` primaryKey ` | string / ` null ` | true |
178
168
| ` createdAt ` | string | true |
179
169
| ` updatedAt ` | string | true |
180
170
181
- The ` name ` field has the same value as the ` uid ` .
182
-
183
171
##### 3.2.2.2. Errors
184
172
185
173
- 🔴 If the requested ` index_uid ` does not exist, the API returns an [ index_not_found] ( 0061-error-format-and-definitions.md#index_not_found ) error.
@@ -279,6 +267,5 @@ The auth layer can return the following errors if Meilisearch is secured (a mast
279
267
N/A
280
268
281
269
## 5. Future Possibilities
282
- - Delete ` uid ` or ` name ` .
270
+
283
271
- Rework the ` primaryKey ` concept
284
- - Paginate ` GET ` - ` /indexes `
0 commit comments