code: private void indexEntity(String type, String id, XContentBuilder sourceEntity) throws StorageException {
          indexEntity(type, id, sourceEntity, false);
      }
docs: Indexes an entity.
  @param type
  @param id
  @param sourceEntity
  @throws StorageException