code: private void initializeIndexer()
      {
          if (this.indexManager.getIndexer() != null
                  && this.indexManager.getIndexer().getClass().getSimpleName().equals("RedisIndexer"))
          {
              ((RedisIndexer) this.indexManager.getIndexer()).assignConnection(getConnection());
          }
      }
docs: Initialize indexer.