Azure Cognitive Search: Creating Indexer for Text Content | AI-102 Exam Preparation

Required Properties for Text Content Indexer - AI-102 Exam | Microsoft Azure

Question

In Azure cognitive search, an indexer for text content simplifies the complex process of loading an index by providing a mechanism for connecting to and reading text from fields in a data source.

It serializes that content as JSON documents and hands-off those documents to the search engine for indexing.

To create an indexer for text content, what are the required properties that you need? (select three answer choices)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answers: A, C and D.

Option A is correct because dataSourceName provides a string value for an existing data source.

Option B is incorrect because searchIndexerClient is a method, not a property used while creating an index for text content.

Option C is correct because targetIndexName provides a string value for the name of an existing index.

Option D is correct because the name is the required property that provides string value to uniquely identify the indexer.

Option E is incorrect because fieldMappings is an optional property while creating an indexer got text content.

Reference:

To learn more about creating an indexer, use the link given below:

To create an indexer for text content in Azure cognitive search, the following three required properties are needed:

A. dataSourceName: This property specifies the name of the data source from where the text content needs to be extracted. The data source can be any supported Azure data source, such as Azure Blob Storage, Azure SQL Database, Azure Cosmos DB, or any other REST-based data source.

D. name: This property specifies the name of the indexer that will be created. The name must be unique within the Azure cognitive search service.

E. fieldMappings: This property specifies the mapping between the fields in the data source and the fields in the search index. This is important because the field names in the data source may not match the field names in the search index. The fieldMappings property enables you to specify how the data source fields should be mapped to the search index fields.

Optional Properties: B. searchIndexerClient: This property is not required to create an indexer, but it is used to interact with the Azure cognitive search service programmatically. It enables you to create, update, and delete indexers.

C. targetIndexName: This property is not required to create an indexer, but it is used to specify the name of the search index that the indexer will write the indexed data to. If this property is not specified, the indexer will use the default search index associated with the Azure cognitive search service.

In summary, to create an indexer for text content in Azure cognitive search, you need to specify the name of the data source, the name of the indexer, and the field mappings between the data source and the search index.