Adding fields to your Kendra index
Navigate back to your Kendra index. You will be introducing a new attribute (field) into your index, the number of pages.
It is important that you perform this task before introducing new attributes with your metadata or you will receive an error.
- Click on Facet Definition.
- Click on Add field.
- Enter the Field name number_of_pages (this is how it appears in our metadata document) and for the data type, select Long (numeric) and click Add. Other data types are String, String List, and Date.
- You will dive deep into faceting, but for this example, mark the fields _category and number_of_pages as Facetable.