# Add Fields in Collection

Anda dapat menambahkan field atau memperbaharui field ke setiap collection dengan cara memilih collection dan mengklik tombol **'fields'**. Kemudian, Anda akan melihat pop-up form untuk menambahkan field, masukkan nama field dan pilih jenis dari field collection seperti yang ditunjukkan di bawah ini.

Jika Anda ingin menghapus field dalam sebuah koleksi, Anda dapat mengklik tombol **'delete'** pada action field di setiap field collection Anda.

![Add Fields ](/files/-MSkArpLU_nlFB45GH4x)

**Penjelasan Komponen:**&#x20;

| Nama Field  | Deskripsi                                                                                                                                                                                                                                                                                                                                                                  |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name        | **Wajib**. Nama field yang akan disimpan dan dirujuk pada Solr.                                                                                                                                                                                                                                                                                                            |
| Type        | **Wajib**. Jenis data field yang ditentukan dalam konfigurasi. Misalnya, tipe data yaitu 'Boolean', 'int', 'date' dll.                                                                                                                                                                                                                                                     |
| Indexed     | <p><strong>Opsional</strong>. If <strong>indexed=False</strong> will make the field only stored but can’t be queried with. Jika  <strong>indexed=True,</strong> nilai pada field yang dapat digunakan pada untu  mengambil dokumen yang sesuai.</p><p></p><p>Jika <strong>Indexed = False</strong> akan membuat field hanya dapat disimpan tetapi tidak dapat diquery.</p> |
| Stored      | <p><strong>Opsional</strong>. Jika <strong>stored=true,</strong> nilai aktual field dapat diambil oleh query (untuk memberi tahu Solr agar menyimpan teks asli dalam indeks di suatu tempat).</p><p></p><p>Jika <strong>stored=false</strong> akan membuat field hanya diindeks dan tidak dapat diambil dalam output.</p>                                                  |
| Multivalued | **Opsional**. Jika **true**, menunjukkan bahwa satu dokumen mungkin berisi beberapa nilai untuk tipe field ini.                                                                                                                                                                                                                                                            |

Contoh :&#x20;

* If **stored=true** dan **indexed=false**: field tidak dicari, tetapi perlu ditampilkan di hasil pencarian.
* If **stored=true** and **indexed=true**: field harus dapat dicari dan ditampilkan di hasil pencarian.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.3dolphins.ai/5.3.0-id/administration/data-setting/create-new-collection/add-fields-in-collection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
