Script get error

Hi,
I do query like this:
{
"query":{
"filtered":{
"query":{
"term":{
"AppID":"51w"
}
},
"filter":{
"script":{
"script":"doc['ResponseLength'].value > 1"
}
}
}
}
}

but get error response:
{
"took" : 8,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 4,
"failed" : 1,
"failures" : [ {
"index" : "20130703",
"shard" : 2,
"status" : 500,
"reason" : "QueryPhaseExecutionException[[20130703][2]:
query[filtered(filtered(AppID:51w)->ScriptFilter(doc[ResponseLength].value

1))->cache(_type:applicationaccess)],from[0],size[10]: Query Failed
[Failed to execute main query]]; nested: CompileException[[Error: No field
found for
[org.elasticsearch.index.fielddata.ScriptDocValues$Longs@625aaaca] in
mapping with types [applicationaccess]]\n[Near : {...
doc[ResponseLength].value > 1 ....}]\n ^\n[Line: 1, Column:
1]]; nested: ElasticSearchIllegalArgumentException[No field found for
[org.elasticsearch.index.fielddata.ScriptDocValues$Longs@625aaaca] in
mapping with types [applicationaccess]]; "
} ]
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" :
}

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

anyone could help?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

can you create a reproducible test-case, so we can check if you ran into a
bug? This includes index creation, mapping, data import and your query,
with a curl recreation. See Elasticsearch Platform — Find real-time answers at scale | Elastic

Thanks!

On Mon, Jul 8, 2013 at 4:24 AM, lijionly@gmail.com wrote:

anyone could help?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.