@Override
      public void addObject(String key, String text) throws Exception {
        repo.create(key, new TestObject(text));
      }
Microbenchmark of the IndexRepository to compare an IndexRepository built on top of cache with a
stock lucene IndexWriter with a RAMDirectory.
geode-lucene/src/performanceTest/java/org/apache/geode/cache/lucene/internal/repository/IndexRepositoryImplPerformanceTest.java