code: public void index(ViewDoc viewDoc) {
      BulkIndexer bulk = new BulkIndexer(esClient, TYPE_VIEW, Size.REGULAR);
      bulk.start();
      doIndex(bulk, viewDoc, true);
      bulk.stop();
    }
docs: Index a single document.
  <p/>
  The views lookup cache will be cleared