Romain, In Ignite H2 indexing became the default mechanism, thus there is no H2 IndexingSPI anymore. Even though there is a way to set an indexing SPI, it is intended for other query implementations.
Former H2 indexing SPI properties were moved to cache configuration and CacheTypeMetadata. As for the setDefaultIndexPrimitiveKey property, you simply need to include your key-value type pair into CacheConfiguration.setIndexedTypes like this: cacheCfg.setIndexedTypes(Integer.class, MyValue.class) Hope this helps! 2015-05-20 14:11 GMT-07:00 Romain Gilles <[email protected]>: > So I found the solution for the gridH2IndexingSpi.setDefaultEscapeAll(true) > at least. This option has move to the CacheConfiguration object. > > Not yet found the option for > gridH2IndexingSpi.setDefaultIndexPrimitiveKey(true) but work in progress... > > Regards, > > Romain. > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/How-to-configure-H2-indexing-spi-tp349p350.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >
