can you provide the real JSON used in the request - just to make sure there
are no strange errors leading to this exception? Also can you check the
logs for a more verbose logging?
On Saturday, March 30, 2013 4:58:05 PM UTC+3, okh...@gmail.com wrote:
Hello,
I'm new to elasticsearch. testing logstash,redis,elasticsearch and kibana.
Version - elasticsearch-0.20.5.
For now, I'm doing this operations:
I'm searching specific messages with elastic api.
Sending email with the results.
Taking index,id,type and trying to update the document and add a new
tag named "reported".
Running curl through php: http://xxx.xxx.xxx:9200/logstash-2013.03.27/xxx_log-
type/vG2dLak5TXSzW1jKlitOGg/_update
POST data is: array("script" => "ctx._source.tags += tag", "params" =>
array("tag" => "reported"))* - this is encoded to json, looks same as
the documentation,*
I'm getting this error {"error":"ElasticSearchIllegalArgumentException[failed
to execute script]; nested: PropertyAccessException[[**Error: could not
access: tags; in class: java.util.LinkedHashMap]\n[**Near : {...
ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
I'm probably missing something, any ideas?
Thanks in advance,
Or
Execption:
{"error":"ElasticSearchIllegalArgumentException[failed to execute script];
nested: PropertyAccessException[[Error: could not access: tags; in class:
java.util.LinkedHashMap]\n[Near : {... ctx._source.tags+tag ....}]\n
^\n[Line: 1, Column: 1]]; ","status":400}
On Tuesday, April 2, 2013 9:29:55 AM UTC+3, Alexander Reelsen wrote:
Hey,
can you provide the real JSON used in the request - just to make sure
there are no strange errors leading to this exception? Also can you check
the logs for a more verbose logging?
--Alex
On Tue, Apr 2, 2013 at 8:24 AM, <okh...@gmail.com <javascript:>> wrote:
Should I open a bug?
On Saturday, March 30, 2013 4:58:05 PM UTC+3, okh...@gmail.com wrote:
Hello,
I'm new to elasticsearch. testing logstash,redis,elasticsearch and
kibana.
Version - elasticsearch-0.20.5.
For now, I'm doing this operations:
I'm searching specific messages with elastic api.
Sending email with the results.
Taking index,id,type and trying to update the document and add a new
tag named "reported".
Running curl through php: http://xxx.xxx.xxx:9200/logstash-2013.03.27/xxx_log-
type/vG2dLak5TXSzW1jKlitOGg/_update
POST data is: array("script" => "ctx._source.tags += tag", "params" =>
array("tag" => "reported"))* - this is encoded to json, looks same as
the documentation,*
I'm getting this error {"error":"ElasticSearchIllegalArgumentException[failed
to execute script]; nested: PropertyAccessException[[**Error: could not
access: tags; in class: java.util.LinkedHashMap]\n[**Near : {...
ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
I'm probably missing something, any ideas?
Thanks in advance,
Or
--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
Execption:
{"error":"ElasticSearchIllegalArgumentException[failed to execute script];
nested: PropertyAccessException[[Error: could not access: tags; in class:
java.util.LinkedHashMap]\n[Near : {... ctx._source.tags+tag ....}]\n
^\n[Line: 1, Column: 1]]; ","status":400}
On Tuesday, April 2, 2013 9:29:55 AM UTC+3, Alexander Reelsen wrote:
Hey,
can you provide the real JSON used in the request - just to make sure
there are no strange errors leading to this exception? Also can you check
the logs for a more verbose logging?
On Saturday, March 30, 2013 4:58:05 PM UTC+3, okh...@gmail.com wrote:
Hello,
I'm new to elasticsearch. testing logstash,redis,elasticsearch and
kibana.
Version - elasticsearch-0.20.5.
For now, I'm doing this operations:
I'm searching specific messages with elastic api.
Sending email with the results.
Taking index,id,type and trying to update the document and add a new
tag named "reported".
Running curl through php: http://xxx.xxx.xxx:9200/logstash-2013.03.27/xxx_log-type/
vG2dLak5TXSzW1jKlitOGg/_update
POST data is: array("script" => "ctx._source.tags += tag", "params" =>
array("tag" => "reported"))* - this is encoded to json, looks same as
the documentation,*
I'm getting this error {"error":"ElasticSearchIllegalArgumentEx**ception[failed
to execute script]; nested: PropertyAccessException[[Error: could
not access: tags; in class: java.util.LinkedHashMap]\n[Near : {...
ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
I'm probably missing something, any ideas?
Thanks in advance,
Or
--
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 elasticsearc...@**googlegroups.com.
Execption:
{"error":"ElasticSearchIllegalArgumentException[failed to execute
script]; nested: PropertyAccessException[[Error: could not access: tags; in
class: java.util.LinkedHashMap]\n[Near : {... ctx._source.tags+tag ....}]\n
^\n[Line: 1, Column: 1]]; ","status":400}
On Tuesday, April 2, 2013 9:29:55 AM UTC+3, Alexander Reelsen wrote:
Hey,
can you provide the real JSON used in the request - just to make sure
there are no strange errors leading to this exception? Also can you check
the logs for a more verbose logging?
On Saturday, March 30, 2013 4:58:05 PM UTC+3, okh...@gmail.com wrote:
Hello,
I'm new to elasticsearch. testing logstash,redis,elasticsearch and
kibana.
Version - elasticsearch-0.20.5.
For now, I'm doing this operations:
I'm searching specific messages with elastic api.
Sending email with the results.
Taking index,id,type and trying to update the document and add a
new tag named "reported".
Running curl through php: http://xxx.xxx.xxx:9200/logstash-2013.03.27/xxx_log-type/
vG2dLak5TXSzW1jKlitOGg/_update
POST data is: array("script" => "ctx._source.tags += tag", "params" =>
array("tag" => "reported"))* - this is encoded to json, looks same as
the documentation,*
I'm getting this error {"error":"ElasticSearchIllegalArgumentEx**ception[failed
to execute script]; nested: PropertyAccessException[[Error: could
not access: tags; in class: java.util.LinkedHashMap]\n[Near :
{... ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
I'm probably missing something, any ideas?
Thanks in advance,
Or
--
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 elasticsearc...@**googlegroups.com.
--
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
Execption:
{"error":"ElasticSearchIllegalArgumentException[failed to execute
script]; nested: PropertyAccessException[[Error: could not access: tags; in
class: java.util.LinkedHashMap]\n[Near : {... ctx._source.tags+tag ....}]\n
^\n[Line: 1, Column: 1]]; ","status":400}
On Tuesday, April 2, 2013 9:29:55 AM UTC+3, Alexander Reelsen wrote:
Hey,
can you provide the real JSON used in the request - just to make sure
there are no strange errors leading to this exception? Also can you check
the logs for a more verbose logging?
On Saturday, March 30, 2013 4:58:05 PM UTC+3, okh...@gmail.com wrote:
Hello,
I'm new to elasticsearch. testing logstash,redis,elasticsearch and
kibana.
Version - elasticsearch-0.20.5.
For now, I'm doing this operations:
I'm searching specific messages with elastic api.
Sending email with the results.
Taking index,id,type and trying to update the document and add a
new tag named "reported".
Running curl through php: http://xxx.xxx.xxx:9200/logstash-2013.03.27/xxx_log-type/
vG2dLak5TXSzW1jKlitOGg/_update
POST data is: array("script" => "ctx._source.tags += tag", "params"
=> array("tag" => "reported"))* - this is encoded to json, looks
same as the documentation,*
I'm getting this error {"error":"ElasticSearchIllegalArgumentEx**ception[failed
to execute script]; nested: PropertyAccessException[[Error:
could not access: tags; in class: java.util.LinkedHashMap]\n[Near
: {... ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
I'm probably missing something, any ideas?
Thanks in advance,
Or
--
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 elasticsearc...@**googlegroups.com.
Execption:
{"error":"ElasticSearchIllegalArgumentException[failed to execute
script]; nested: PropertyAccessException[[**Error: could not access:
tags; in class: java.util.LinkedHashMap]\n[**Near : {...
ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
On Tuesday, April 2, 2013 9:29:55 AM UTC+3, Alexander Reelsen wrote:
Hey,
can you provide the real JSON used in the request - just to make sure
there are no strange errors leading to this exception? Also can you check
the logs for a more verbose logging?
On Saturday, March 30, 2013 4:58:05 PM UTC+3, okh...@gmail.com wrote:
Hello,
I'm new to elasticsearch. testing logstash,redis,elasticsearch and
kibana.
Version - elasticsearch-0.20.5.
For now, I'm doing this operations:
I'm searching specific messages with elastic api.
Sending email with the results.
Taking index,id,type and trying to update the document and add a
new tag named "reported".
Running curl through php: http://xxx.xxx.xxx:9200/logstash-2013.03.27/xxx_log-type/vG2
dLak5TXSzW1jKlitOGg/_update
POST data is: array("script" => "ctx._source.tags += tag", "params"
=> array("tag" => "reported"))* - this is encoded to json, looks
same as the documentation,*
I'm getting this error {"error":"ElasticSearchI**
llegalArgumentEx**ception[failed to execute script]; nested:
PropertyAccessException[[Error**: could not access: tags; in
class: java.util.LinkedHashMap]\n[**Nea****r : {...
ctx._source.tags+tag ....}]\n ^\n[Line: 1, Column: 1]];
","status":400}
I'm probably missing something, any ideas?
Thanks in advance,
Or
--
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 elasticsearc...@**googlegroups.**com.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.