David Potter a18b21c06e
rfctr [P6M-397]: opensearch source connector v2 (#3302)
Updates opensearch source connector to v2. Leverages elasticsearch v2
heavily.

Expected tests renamed because thats how Elasticsearch names them.
2024-07-01 20:35:26 +00:00

65 lines
1.6 KiB
JSON

[
{
"type": "Title",
"element_id": "a41a129d5d7ec934283100f0bb3085c4",
"text": "American",
"metadata": {
"languages": [
"eng"
],
"filetype": "text/plain",
"data_source": {
"version": "1",
"record_locator": {
"hosts": [
"http://localhost:9247"
],
"index_name": "movies",
"document_id": "3"
}
}
}
},
{
"type": "NarrativeText",
"element_id": "813916a2a6f5f66a6050b8054581ea2f",
"text": "The plot is that of a black woman going to the dentist for a toothache and being given laughing gas. On her way walking home, and in other situations, she can't stop laughing, and everyone she meets \"catches\" the laughter from her, including a vendor and police officers.",
"metadata": {
"languages": [
"eng"
],
"filetype": "text/plain",
"data_source": {
"version": "1",
"record_locator": {
"hosts": [
"http://localhost:9247"
],
"index_name": "movies",
"document_id": "3"
}
}
}
},
{
"type": "Title",
"element_id": "d3ea9ef7627b23a0e6945bdea5753f1a",
"text": "Edwin Stanton Porter",
"metadata": {
"languages": [
"eng"
],
"filetype": "text/plain",
"data_source": {
"version": "1",
"record_locator": {
"hosts": [
"http://localhost:9247"
],
"index_name": "movies",
"document_id": "3"
}
}
}
}
]