# 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](https://2268349083-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MSk7Myol7BOaSgV_yNw%2F-MSkArpLU_nlFB45GH4x%2FAdd%20Fields.png?alt=media\&token=7818eb23-c6df-4f21-9318-3ef6bd7c39a9)

**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.
