copyright | lastupdated | subcollection | ||
---|---|---|---|---|
|
2023-06-20 |
discovery-data |
{{site.data.keyword.attribute-definition-list}}
{: #cm-edit-collection}
You can change the characteristics of your collection from the Content Mining application. {: shortdesc}
You can change the following characteristics:
- Change the time zone of your collection
- Add document flags that you can use to tag documents of interest in your collection
- Change or augment the field that is designated as the source for the text body of your documents
- Group text body fields
- Add, remove, or change the enrichments that are applied to the collection
{: #cm-edit-collection-task}
-
From the analysis view of your collection, click the Collections link in the page header.
-
In the tile for your collection, click the Open and close list of options icon, and then choose Edit collection.
-
Use the appropriate tab to change characteristics of the collection.
-
When you are done making changes, click Save.
The following message is displayed:
You need to clear index to make these changes. After clearing index, fully build the index to analyze using this collection.
{: screen}
You can ignore the message. The index is rebuilt automatically when you click OK.
-
Click OK to verify the change.
-
Click Close to return to the Collections page.
Wait for the index to be rebuilt before you continue your analysis. From the Collections page, you can see the progress of the index rebuild. {: tip}
-
Click your collection tile to return to the data analysis page.
{: #cm-edit-collection-time-zone}
To change the time zone that is used by the trend graph, you must edit the default time zone for the collection.
- Complete the steps in Editing a collection to get the collection into edit mode.
- In the Edit tab, change the value of the Time zone field, and then click Save.
{: #cm-flags-add}
To add document flags, complete the following steps:
- Complete the steps in Editing a collection to get the collection into edit mode.
- Click the Document flags tab, and then click Add flag.
- In the Document flag dialog box, name the flag, add a description, choose a flag color, and then click Add.
- Repeat the previous steps to add more flags.
- From the Document flags view, select Enabled so that the flags appear in your documents, and then click Save to make them available in your collection.
For more information about how to flag documents, see Flag documents of interest.
{: #text-field}
When you analyze data with the Content Mining application, Discovery determines which field contains the body of the text to be analyzed. It does so by looking for the field with the highest average word count.
You can check which field is designated as the main text body field, and change it or augment it by changing the index type of another field.
-
Complete the steps in Editing a collection to get the collection into edit mode.
-
Click the Fields tab. Check the Index type column to find the field designated with the Analyzable text content index type.
You can change the field or set more than one text field to be an Analyzable text content index type.
-
Click Save.
If you select multiple fields to analyze, you cannot see the facet analysis for only one field. To view the analysis for multiple fields, you must group them.
{: #group-multiple-fields}
-
Complete the steps in Editing a collection to get the collection into edit mode.
-
Click the Contextual view tab, and then click Add view.
-
Complete the following fields:
- Name: The name or label of your grouped view.
- Id: The alphanumeric ID that {{site.data.keyword.discoveryshort}} uses when you submit a text query. For example,
ans1
. - Fields: The text fields that have the Analyzable text content setting applied. Select one or multiple text fields that you want to group for facet analysis.
-
Click Add.
Repeat this task if you want to add more text fields that you want to group for facet analysis.
-
Click Save.
Now you can return to the data analysis page for your collection. From the Facet analysis panel, you can click Contextual view selection to see the text fields that you grouped. You can select one of the text fields to view the facet analysis for that field.
{: #cm-enrichments}
Discovery provides built-in natural language processing models, such as the Entities enrichment that can recognize mentions of commonly known things, such as business or location names and other types of proper nouns. You can apply these built-in NLP enrichments to your collection.
You can also apply a document classifier enrichment that you created in the Content Mining application to your collection.
Alternatively, you can apply enrichments that were built in other projects in the same service instance to the collection in your content mining project. For example, you can apply a dictionary or text classifier that was built in another project in the same service instance to your collection.
To apply enrichments to your collection, complete the following steps:
- Complete the steps in Editing a collection to get the collection into edit mode.
- Click the Enrichment tab, and then select the enrichments that you want to apply to your collection.
- Click Save.