Hello Michael Schmidt,
Welcome to the Microsoft Q&A and thank you for posting your questions here. Meanwhile, you do not let us know what and which documents you've reading so far. Lols.
I understand that you're referring to scenarios where fields are being overwritten or you're trying to append values into a single array field instead of having them replace each other.
In high level difficulties, basic rudiments might really help as below: When you apply a skillset to enrich documents, it's possible to merge arrays in Azure Cognitive Search by ensuring that the output field is new or is designed to hold the merged data. So, avoid Overwriting Arrays and no Built-in Array Merge.
Secondly, while Azure Cognitive Search doesn't have a native "array merge" skill, you can create a custom skill that merges the arrays as you desire. The output can then be placed into a new field.
To merge array values manually, you'd either:
- Use a custom web API skill to process and merge your arrays.
- Alternatively, if you need to train or test based on individual elements, split the array into individual values using appropriate skills, and store them in separate fields.
Thirdly, if you want to pull out single fields from an array for training purposes:
- You can specify the field you want to extract with
.../*syntax. This is useful when working with a collection of items within a document. - For this extraction, you could use skills like the text extraction skill or a regex skill if you're extracting based on patterns.
You might be using output Field correctly, make sure you read more in the links provided for further reference:
- Skillset Configuration and Skills Overview - https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-definitions
- Custom Skills - https://learn.microsoft.com/en-us/azure/search/cognitive-search-custom-skill
- Output Field Mapping - https://learn.microsoft.com/en-us/azure/search/cognitive-search-output-mapping
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.