Could we give multiple search queries in the same track.json
I want to give 2 queries which given below/ So I added it in several places in different ways to organize it . However, when I validate the .json , I get operation key is duplicated or json is invalid. Thank you.
Hi! The name field should be in the task-level of the definition, not the operation-level:
{
//here
"name": "my-task",
"operation": {
// not here
...
}
}
By default, the task will just use the operation name (search in your case) as the task name, which means that they get duplicated in your configuration.
Thank you Rick and Dliappis, with your guidance I managed to solve the json errors and now the track.json is taken but it get finished within few seconds and seemed the test not ran. Below is the track.json that I used.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.