Skip to content

Instantly share code, notes, and snippets.

@vinpereira
Created March 3, 2016 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinpereira/ffd9b0351fb2b590e025 to your computer and use it in GitHub Desktop.
Save vinpereira/ffd9b0351fb2b590e025 to your computer and use it in GitHub Desktop.
Aggregation in another scope with dynamic value
{
"_id" : {
"store" : true,
"index" : "not_analyzed"
},
"_timestamp" : {
"enabled" : true,
"store" : true
},
"properties" : {
"processDefinition.id" : {
"type" : "string",
"index" : "not_analyzed",
"doc_values" : true
},
"processDefinition.key" : {
"type" : "string",
"index" : "not_analyzed",
"doc_values" : true
},
"processDefinition.name" : {
"type" : "string"
},
...
"variables" : {
"type" : "nested",
"properties" : {
...
"name" : {
"type" : "string",
"index" : "not_analyzed",
"doc_values" : true
},
"rawValue" : {
"type" : "string",
"index" : "not_analyzed",
"doc_values" : true
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment