You can include up to two index levels: The primary is the first level and the secondary is the second level index entry. You can add a second-level index term tag within the main index term tag. If you place your cursor within an index term entry in your topic, you will see what level it is at to ensure you do not include more than two levels.
Think of index entries as keywords that tell the reader what kind of information is covered. For example, your index entry can include a few keywords indicating what a procedure is about. You can also include other key UI terms that people might want to search for.
To build a good index, you must know your audience. Determine what concepts, topics, and tasks your readers are most likely to look up, and ensure that you have entries for these items. Add index entries for important information that is relevant to your audience. Do not create a random list of words and phrases. The function of an index is not the same as a full-text search.