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.

  1. Click on Facet Definition.

  1. Click on Add field.

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

  1. You will dive deep into faceting, but for this example, mark the fields _category and number_of_pages as Facetable.