Closed podhmo closed 6 years ago
hey,
dictknife mkdict xs/0 1 xs/1 3 xs/2 5
{
"xs": [
1,
3,
5
]
}
dictknife mkdict xs/ 1 xs/ 3 xs/ 5
{
"xs": [
1,
3,
5
]
}
dictknife mkdict xs/-1 1 xs/-1 3 xs/-1 5
{
"xs": {
"-1": 5
}
}
so,
$ dictknife mkdict \
query/bool/must/0/terms/jobId/ 5bd280d5493ad70001dda105 \
query/bool/must/0/terms/jobId/ 5bd280b7493ad70001dda100 \
query/bool/must/0/terms/jobId/ 5bd1b0fc493ad70001dd94a3 \
query/bool/must/0/terms/jobId/ 5bd184e5493ad70001dd948c \
size 1000
{
"query": {
"bool": {
"must": [
{
"terms": {
"jobId": [
"5bd280d5493ad70001dda105",
"5bd280b7493ad70001dda100",
"5bd1b0fc493ad70001dd94a3",
"5bd184e5493ad70001dd948c"
]
}
}
]
}
},
"size": 1000
}
e.g.