There was something wrong with fetching your inbox. Please contact support here.
You can use the Text Indexes account page to manage your text indexes, rather than calling the APIs directly.
The Text Indexes account page displays a list of your text indexes. It shows the name, description, and flavor of each text index.
You can click the title of a text index to display more information. The page for the text index provides additional tabs that allow you to manage the text index without using the API pages. The following page describes some of the actions that you can perform in the Text Indexes page:
You can use the the text indexes page to create a new text index.
Note: Each text index flavor has a static resource unit cost, determined by the maximum index size and specialization. For more information about the resource unit costs for each flavor, see API and Resource Unit Consumption.
To create a new text index
Click Create text index. The Create Text Index dialog box opens on the Name page.
Type a name and description for your new text index.
Click Next. The Flavor page opens.
Select a flavor for the new text index. For more information about flavors, see Index Flavors.
Click Next. The Flavor Attributes page opens.
The flavor attributes page allows you to define fields for your text index. The exact attributes available depends on the flavor that you have selected. The following table describes the possible attributes.
|Index Fields||Fields that you want Haven OnDemand to process for searching. See Index Field Types.|
|Parametric Fields||Fields that contain content for parametric (faceted) search and filtering. See Index Field Types.|
|Expire Date||Fields that contain an expiration date for the documents in the text index. See Index Field Types.|
|Numeric||Fields that contain numeric values that you want to search for regularly. See Index Field Types.|
Click Next. The Confirm page opens.
Check the details for your new text index, and then click Create.
Haven OnDemand creates the text index, and the Text Indexes page immediately displays the text index in the list.
You can add documents to a text index by using the Index Documents tab.
To index a document into a text index
On the Text Indexes page, click the text index that you want to index into. The metadata subpage opens, displaying details for the text index.
Click the Index Documents tab.
Find the JSON file that you want to index in your file system and drag it to the gray box on the page.
Note: The JSON file must be appropriate for indexing. See the Add to Text Index API.
Haven OnDemand indexes the document and returns a status or error message.
The text index pages allow you to query a text index, or to see what other APIs you can use with the text index. On the Text Indexes page, click a text index to display the tabs for the index.
The Query Index tab allows you to create a quick text query for your index. This page uses the Query Text Index API, but does not have all the functionality for the API. You can type a simple keyword, natural language, or Boolean search expression, and choose to sort the results by relevance or date (with the most recent document first). Click Search to run the query. For more query functionality, see the Query Text Index API page.
The APIs tab displays a list of the APIs that you can use, such as Find Related Concepts and Find Similar. The API list depends on the flavor of your index. For example, if you create a text index with the Categorization flavor, you can use the Categorize Document API.
You can delete a text index from the Metadata tab for the text index. Deleting the text index removes all the content. You cannot retrieve a text index after you delete it.
To delete an existing text index
On the Text Indexes page, click the text index that you want to delete. The metadata subpage opens, displaying the text index.
Click Delete text index. A warning dialog box opens.
Click Delete to delete the text index. Haven OnDemand runs a preparatory step, and then a further confirmation dialog box opens.
Click Delete again to confirm that you want to delete the index.
Haven OnDemand deletes the text index and removes any content that it contains.