For some reason updating nested fields does not work for me : for example
'{"script": "ctx._source.something.nested = new_name", "params":
{"new_name": "test_hostname"}}' results in nested:
PropertyAccessException[[Error: could not access: config; in class:
java.util.LinkedHashMap] ..I am using 0.19.1 .. thanks for any help .
minor correction (wrong paste) - [Error: could not access: something; in
class: java.util.LinkedHashMap]
On Monday, December 3, 2012 1:18:07 PM UTC-8, the_nozzle wrote:
For some reason updating nested fields does not work for me : for example
'{"script": "ctx._source.something.nested = new_name", "params":
{"new_name": "test_hostname"}}' results in nested:
PropertyAccessException[[Error: could not access: config; in class:
java.util.LinkedHashMap] ..I am using 0.19.1 .. thanks for any help .
minor correction (wrong paste) - [Error: could not access: something; in
class: java.util.LinkedHashMap]
On Monday, December 3, 2012 1:18:07 PM UTC-8, the_nozzle wrote:
For some reason updating nested fields does not work for me : for example
'{"script": "ctx._source.something.nested = new_name", "params":
{"new_name": "test_hostname"}}' results in nested:
PropertyAccessException[[Error: could not access: config; in class:
java.util.LinkedHashMap] ..I am using 0.19.1 .. thanks for any help .
Actually I just noticed a typo in the url . Works fine now . Thanks
On Monday, December 3, 2012 10:05:06 PM UTC-8, Martijn v Groningen wrote:
Hi,
The error you describe suggests me that the field something doesn't
exist at all. Are you sure that this field is available in the source?
Martijn
On 4 December 2012 11:19, the_nozzle <k11...@gmail.com <javascript:>>
wrote:
minor correction (wrong paste) - [Error: could not access: something; in
class: java.util.LinkedHashMap]
On Monday, December 3, 2012 1:18:07 PM UTC-8, the_nozzle wrote:
For some reason updating nested fields does not work for me : for
example
'{"script": "ctx._source.something.nested = new_name", "params":
{"new_name": "test_hostname"}}' results in nested:
PropertyAccessException[[Error: could not access: config; in class:
java.util.LinkedHashMap] ..I am using 0.19.1 .. thanks for any help .
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.