@@ -37,16 +37,7 @@ This field is mandatory when creating an index and cannot be changed afterwards.
3737
3838The field ` uid ` can be an integer or a string containing only alphanumeric characters, hyphens (-) and underscores (_ ).
3939
40- #### 3.1.2. ` name `
41-
42- - Type: string
43- - Required: false
44-
45- This field is automatically generated by the engine when creating an index and is equal to the value of ` uid ` .
46-
47- It is not possible to give a custom value to ` name ` when creating or updating an index.
48-
49- #### 3.1.3. ` primaryKey `
40+ #### 3.1.2. ` primaryKey `
5041
5142- Type: string
5243- Required: false
@@ -62,7 +53,7 @@ Specifying this field tells the engine to use the document attribute specified i
6253
6354When the index is empty, it is possible to modify the ` primaryKey ` .
6455
65- #### 3.1.4 . ` createdAt `
56+ #### 3.1.3 . ` createdAt `
6657
6758- Type: string
6859- Required: false
@@ -73,7 +64,7 @@ Automatically generated by the engine at the creation of an index.
7364
7465Represented with the ` RFC 3339 ` format.
7566
76- #### 3.1.5 . ` updatedAt `
67+ #### 3.1.4 . ` updatedAt `
7768
7869- Type: string
7970- Required: false
@@ -111,13 +102,10 @@ Fetch an index of a Meilisearch instance.
111102| Field | Type | Required |
112103| --------------------------| --------------------------| ----------|
113104| ` uid ` | string | true |
114- | ` name ` | string | true |
115105| ` primaryKey ` | string / ` null ` | true |
116106| ` createdAt ` | string | true |
117107| ` updatedAt ` | string | true |
118108
119- The ` name ` field has the same value as the ` uid ` .
120-
121109##### 3.2.2.2. Errors
122110
123111- 🔴 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.
@@ -217,5 +205,5 @@ The auth layer can return the following errors if Meilisearch is secured (a mast
217205N/A
218206
219207## 5. Future Possibilities
220- - Delete ` uid ` or ` name ` .
208+
221209- Rework the ` primaryKey ` concept
0 commit comments