IBM Cloud Docs
Adding facets

Adding facets

Add more facets that you can use to filter your data.

When you apply custom enrichments to your collection, annotations are added to its documents. The annotations feed into new facets that you can use to sort your data.

The following table describes the types of facets that you can create from annotations.

Custom facet types
Information to recognize Annotator type
Commonly understood terms, such as organization or people names. Built-in Natural Language Processing models
Phrases that express an opinion and evaluate whether the opinion is positive or negative. Phrase sentiment
Alternative words that share a meaning with terms in a finite list. Dictionary
Terms that match a syntactical pattern Regular expression
Custom terms by the context in which they are used. Machine learning model
Documents that fit into categories that you define. Document classifier

Grouping facets

To organize your facets, you can group them in folders.

Grouping facets does not combine the data from the facets. It merely makes the facets easier to find because they are organized in named folders.

To associate facets such that you can combine data from multiple facets, the facets must have a facet and subfacet relationship. Such hierarchical relationships must be defined at the time that the facet enrichment or annotation is created and applied to the collection.

To group facets, complete the following steps:

  1. From the initial search page, submit a search.

  2. From the Facet analysis pane, click the Edit icon.

  3. Name the group, and then select the facets that you want to group together.

    Facet grouping dialog
    Figure 1. Facet grouping dialog

  4. Click Apply.

  5. The facets that you grouped are now available from a folder with the group name.

    Facet folder
    Figure 2. Facet folder from the facet list