Dear Colleagues,

I have the following instructions that I running in "marvel/sense" with a 
right result:

POST /myindex/mytype/mykey/_update
{
 "doc" : {
   "link" : "http://www.kicoso.com";,
   "sortierung" : "4"
 }
}

but when I try to run the same instruction in perl I get the following 
mistake:
Could not execute update [Native Error: ERROR:  [Param] ** Unknown param 
(doc) in (update) request.

the instruction in perl are:

$e->update(
  index => 'myindex',
  type  => 'mytype',
  id    => "mykey",
  doc => {
          link => "http://www.nw-kicoso.com";,
          sortierung => "5"
  }
);

What I am doing wrong?

In advance thousand thanks for your help.

Kind regards

Jorge von Rudno


-- 
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/65ced417-b1e2-4227-bf25-38c7bc3adb89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to