# Add Fields in Collection

You can add fields or update fields to every collection by select the collection and click the **'fields'** button. Then, you will see a pop-up form to add the fields, enter the field name and select the type of field collection as shown below.

If you want to delete a field in a collection, you can click the **'delete'** button on the action field in each field collection.

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

**Component Explanation:**

| Field Name  | Description                                                                                                                                                                                                                                                                                               |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name        | **Required**. Name of the field stored and referred in Solr.                                                                                                                                                                                                                                              |
| Type        | **Required**. The data type of the field defined in the configuration. For example, data type i.e ‘Boolean’, ‘int’, ‘date’ etc.                                                                                                                                                                           |
| Indexed     | <p><strong>Optional</strong>. If <strong>indexed=True</strong>, the value of the field can be used in queries to retrieve matching documents.<br><br>If <strong>indexed=False</strong> will make the field only stored but can’t be queried with.</p>                                                     |
| Stored      | <p><strong>Optional</strong>. If <strong>stored=true</strong>, the actual value of the field can be retrieved by queries (to tell Solr to store the original text in the index somewhere).<br><br>If <strong>stored=false</strong> will make the field only indexed and can’t be retrieved in output.</p> |
| Multivalued | **Optional**. If true, indicates that a single document might contain multiple values for this field type.                                                                                                                                                                                                |

For example :

* If **stored=true** and **indexed=false**: field isn’t searched, but need to be displayed in the search results.
* If **stored=true** and **indexed=true**: field should be searchable and displayed in the search results.


---

# 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.1.x/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.
