I'm trying to build a parallel track, that will have 2 parallel bulk operations from two different files, using the includes-action-and-meta-data
so the index\type will be set in the data files.
Will this work the way I want it to ? or there is some kind of limitation or I didn't understand the wiki? also inside the Bulk
section, corpora
property is a list of names? or just 1 name?
I want to use this track and corpora:
{
"corpora": [
{
"name": "t1",
"documents": [
{
"source-file": "documents-t1.json",
"document-count": 10000,
"includes-action-and-meta-data": true
}
]
},
{
"name": "t2",
"documents": [
{
"source-file": "documents-t2.json",
"document-count": 10000,
"includes-action-and-meta-data": true
}
]
}
],
"schedule": [
{
"parallel": {
"tasks": [
{
"name": "bulk1",
"operation-type": "bulk",
"corpora": "t1",
"bulk-size": 5000
},
{
"name": "bulk2",
"operation-type": "bulk",
"corpora": "t2",
"bulk-size": 5000
}
]
}
}
]
}
Thank you very much,
David.