title: How to update multiple fields using java api elasticsearch script
body: <p>I am trying to update multiple value in index using Java Api through Elastic Search Script. But not able to update fields.</p>
  
  <p>Sample code :-</p>
  
  <h1>1:</h1>
  
  <pre><code>UpdateResponse response = request.setScript("ctx._source").setScriptParams(scriptParams).execute().actionGet();
  </code></pre>
  
  <h1>2:</h1>
  
  <pre><code>UpdateResponse response = request.setScript("ctx._source.").setScriptParams(scriptParams).execute().actionGet();
  </code></pre>
  
  <p>if I mentioned .(dot) in ("ctx._source.") getting illegalArgument Exception and if i do not use dot, not getting any exception but values not getting updated in Index.
         Can any one tell me the solutions to resolve this.</p>