Rally with search templates?

Hi there,

Is there a way in your rally tracks to use a search template for the search query ?

We've created Elasticsearch template using _scripts/ that we can then use with _search/template as follow:

GET index/_search/template
{
"id": TEMPLATENAME,
"params": {
from: 0,
size: 30,
"paramName": "SOME PARAM FOR THE QUERY",
...
}
}

It all works fine by hand but I haven't been able to tell rally to use a search template :frowning:

No much choice in the different rally operation-types (I could have hoped for a "search-template" type but it doesn't exist) thefore I use search:
./operations/default.json: "operation-type": "search",

And in my track.py file in PureTermsQueryParamSource class I haven't found a way in the "result" variable to specify that I wanted to use a search template.

Any idea ?

Thanks for your help.
Oli

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.