Roman Isecke f7b0a37c86
Feat/migrate elasticsearch src connector (#3174)
### Description
Migrate elasticsearch connector with support for what used to be batch
ingest docs but not it support for the download step to generate
additional file data.

---------

Co-authored-by: ryannikolaidis <1208590+ryannikolaidis@users.noreply.github.com>
Co-authored-by: rbiseck3 <rbiseck3@users.noreply.github.com>
2024-06-13 17:57:59 +00:00

65 lines
2.0 KiB
JSON

[
{
"type": "Title",
"element_id": "f9ccdf830b75aa444d036fbd9b526a33",
"text": "American",
"metadata": {
"languages": [
"eng"
],
"filetype": "text/plain",
"data_source": {
"version": "1",
"record_locator": {
"hosts": [
"http://localhost:9200"
],
"index_name": "movies",
"document_id": "4"
}
}
}
},
{
"type": "Title",
"element_id": "4fa3bb0ca3e8b99e7a779e81ce71d416",
"text": "D. W. Griffith",
"metadata": {
"languages": [
"eng"
],
"filetype": "text/plain",
"data_source": {
"version": "1",
"record_locator": {
"hosts": [
"http://localhost:9200"
],
"index_name": "movies",
"document_id": "4"
}
}
}
},
{
"type": "NarrativeText",
"element_id": "8bdb952f37e05cbfd37e2985ee367cd7",
"text": "On a beautiful summer day a father and mother take their daughter Dollie on an outing to the river. The mother refuses to buy a gypsy's wares. The gypsy tries to rob the mother, but the father drives him off. The gypsy returns to the camp and devises a plan. They return and kidnap Dollie while her parents are distracted. A rescue crew is organized, but the gypsy takes Dollie to his camp. They gag Dollie and hide her in a barrel before the rescue party gets to the camp. Once they leave the gypsies and escapes in their wagon. As the wagon crosses the river, the barrel falls into the water. Still sealed in the barrel, Dollie is swept downstream in dangerous currents. A boy who is fishing in the river finds the barrel, and Dollie is reunited safely with her parents.",
"metadata": {
"languages": [
"eng"
],
"filetype": "text/plain",
"data_source": {
"version": "1",
"record_locator": {
"hosts": [
"http://localhost:9200"
],
"index_name": "movies",
"document_id": "4"
}
}
}
}
]