SpanFristQuery&SpanNotQuery's problems

I followed the official document, but get nothing in reponse.

I paste my query in gist:

is it a bug?

problem is solved.
Another problem about SpanNotQuery.
query:
{
"query":
{
"span_not" : {
"include" : {
"span_term" : { "message" : "trying" }
},
"exclude" : {
"span_term" : { "message" : "search2" }
}
}
}
}
I want exclude search2 from the result, but it seems span_not does not take effect, the query returns all results.