title: Elastic Search How to retrieve the data if any changes made to a particular database column using Low Level Rest Client
body: <p>Using Elastic search 7.0.1 /spring Boot/REST API/Java 8 Versions
  can anyone help me in resolving the issue. ?</p>
  <p>I am able to create an index document which are status is ACTIVE.</p>
  <pre><code>@RestController
  public class Search Controller {``
  @GetMapping(&quot;/retrieve&quot;)
  public String retrieve (String id) {
  Request request=new Request(&quot;GET&quot;, index Name +&quot;/_search&quot;);
  ..
   }
  }
  </code></pre>
  <p>But if a document has updated to inactive status those documents should not be visible only Active documents should visible but it is not happening.
  How to perform re Index the document through Rest API with low Level Rest Client.
  using Elastic search 7.0.x</p>