Hi,

I'm trying to start using ES-DSL-PY to do some quick tests on my 
environment and I've faced one problem.
Whats the correct way to use it in a range filter? I plain json the Syntax 
would be something like: 


 "range": { 
    "@timestamp": { 
        "from": 1413815328968, 
        "to": 1413901728968 
     } 
}


When I try to convert it to python I'd end with something like

F("range", @timestamp={"from":1413815328968, "to":1413901728968})


But the *@timestamp *is a wrong Python Syntax.
Any recommendations on how to do it, while still using EDP syntax?

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/e10ca84b-c1b5-4ea6-9db6-004c5c5c6fb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to