aparo/pyes — Issue #134: redundant string in json created for filter
Author: ww1998
Created: 2011-12-06 21:51:33+00:00
State: open

For nested filter such as

NotFilter(TermFilter(field='uid', value=""5433460288"))

The created json becomes:

"filter": {
"not": {
"filter": {
"term": {
"uid": "5433460288"
}
}
}
},

Note that the inner "filter" is redundant, although the program seems to return correct results.