@Override
      public void beforeIndexLookup(Index index, int oper, Object key) {
        indexUsed = true;
      }
Tests query on region containing heterogenous objects
geode-core/src/integrationTest/java/org/apache/geode/cache/query/internal/index/IndexMaintenanceJUnitTest.java