Share via

Mapping Indexers

Josh Thomas 21 Reputation points
2024-08-11T12:52:19.38+00:00

Hello. I am trying to learn Indexers and where I need the Skills and don't. Conceptually, I get the flow at the 10K foot level but not sure about where I need the field mapper.

Current Index
id - Edm.String

chunk - Edm.String

embedding - Collection(Edm.Single)

metadata - Edm.String

doc_id - Edm.String

contact_office - Edm.String

oversight_executive - Edm.String

applies_to - Edm.String

reason_for_policy - Edm.String

definitions - Edm.String

policy_statement - Edm.String

procedures - Edm.String

major_category - Edm.String

next_review_date - Edm.String

Sample markdown file in my data source (blob storage). Sometimes it's this clean but sometimes it is not. Given it's not always clean, what kind of mapping do I need to do to insure the index is correctly populated?

# FIN-052: Fixed Assets Accounting and Reporting of Equipment Acquired for Sponsored Programs

## Policy Statement
[Insert brief policy statement here]

## Reason for Policy
[Insert reason for policy here]

## Definition of Terms
- Equipment: [Insert definition]
- Government-Furnished Equipment (GFE): [Insert definition]
- Sponsored Program: [Insert definition]
[Add other key terms as needed]

## Policy Content
1. Procurement of Equipment
   [Insert key points about procurement]

2. Title to Equipment
   [Insert key points about equipment ownership]

3. Equipment Use
   [Insert key points about equipment usage]

4. Sponsored Program Subcontracts Involving Equipment
   [Insert key points about subcontracts]

5. Sponsored Program-Funded Fabrications of Equipment
   [Insert key points about fabrications]

6. Responsibilities
   - Office of Naval Research (ONR): [Insert responsibilities]
   - Office of Business Assets & Cost Recovery (BACR): [Insert responsibilities]
   - Office of Sponsored Programs (OSP): [Insert responsibilities]
   - Principal Investigators and Other Responsible Parties: [Insert responsibilities]

7. Compliance with Policy
   [Insert compliance information]

## Major Category
Finance and Business Operations

## Oversight Executive
Vice President and Chief Financial Officer

## Applies To
Academic Division and the College at Wise

## Next Scheduled Review
[Insert review date]

## Approved By, Date
Policy Review Committee, [Insert approval date]

## Revision History
[Insert brief revision history]
Azure AI Search
Azure AI Search

An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.


1 answer

Sort by: Most helpful
  1. AI answer

    2024-08-11T12:52:19.4166667+00:00

    To ensure that your index is correctly populated, you may need to use field mappings. Field mappings allow you to map source fields to destination fields in your search index. In some cases, your data source may have field names that are incompatible with Azure AI Search field naming conventions or have field types that are not supported by Azure AI Search. In these cases, you can use field mappings to define the data path between source fields and target fields in your search index.

    Based on the sample markdown file you provided, it looks like you may need to use field mappings to map the fields in your data source to the fields in your search index. For example, you may need to map the "id" field in your search index to the "FIN-052" value in the markdown file. You may also need to map the "chunk" field in your search index to the "Policy Statement" value in the markdown file.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.