Last active
March 3, 2021 01:24
-
-
Save Sealjay/00f2ca6238975c712248a7c5d08b2b6a to your computer and use it in GitHub Desktop.
cognitivesearch - indexer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "docindexer", | |
"description": null, | |
"dataSourceName": "docs", | |
"skillsetName": "mergetext", | |
"targetIndexName": "uklegislation", | |
"disabled": null, | |
"schedule": null, | |
"parameters": { | |
"batchSize": null, | |
"maxFailedItems": null, | |
"maxFailedItemsPerBatch": null, | |
"base64EncodeKeys": null, | |
"configuration": { | |
"dataToExtract": "contentAndMetadata", | |
"allowSkillsetToReadFileData": false, | |
"imageAction": "generateNormalizedImages" | |
} | |
}, | |
"fieldMappings": [ | |
{ | |
"sourceFieldName": "metadata_storage_name", | |
"targetFieldName": "id", | |
"mappingFunction": { | |
"name": "base64Encode", | |
"parameters": null | |
} | |
}, | |
{ | |
"sourceFieldName": "metadata_storage_name", | |
"targetFieldName": "metadata_storage_name", | |
"mappingFunction": null | |
}, | |
{ | |
"sourceFieldName": "metadata_title", | |
"targetFieldName": "title", | |
"mappingFunction": null | |
}, | |
{ | |
"sourceFieldName": "content", | |
"targetFieldName": "content", | |
"mappingFunction": null | |
} | |
], | |
"outputFieldMappings": [ | |
{ | |
"sourceFieldName": "/document/merged_text", | |
"targetFieldName": "merged_content" | |
} | |
], | |
"cache": null, | |
"encryptionKey": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment