Closed
Description
A recent release appears to have broken the ability to perform a "terms lookup" query which is a special subset of terms query which allows you to specify the index, id, and field so you can limit terms to those found in a specific document in another index:
I used to be able to create a "terms lookup" query like so:
Q('terms', **{'_id': {
'index': 'my-other-index',
'id': 'my-document-id',
'path': 'my-field'
}})
Now, however, the query generated flattens the dictionary into a list of keys, so that what actually gets built is this:
"terms": {
"_id": [
"index",
"id",
"path"
]
}
This seems to be an unintended side-effect of a recent release. Please advise.
Metadata
Metadata
Assignees
Labels
No labels