// Create the Base indexes.
casMgr.initCASIndexes();
// create custom indexes to test new primitive keys
FSIndexRepositoryMgr irm = casMgr.getIndexRepositoryMgr();
FSIndexComparator comp = irm.createComparator();
comp.setType(tsa.getType("test.primitives.Example"));
comp.addKey(tsa.getFeatureByFullName("test.primitives.Example:doubleFeature"),
FSIndexComparator.STANDARD_COMPARE);
irm.createIndex(comp, "doubleIndex");
comp = irm.createComparator();
comp.setType(tsa.getType("test.primitives.Example"));
comp.addKey(tsa.getFeatureByFullName("test.primitives.Example:longFeature"),
FSIndexComparator.REVERSE_STANDARD_COMPARE);
irm.createIndex(comp, "longIndex");
comp = irm.createComparator();
comp.setType(tsa.getType("test.primitives.Example"));
comp.addKey(tsa.getFeatureByFullName("test.primitives.Example:shortFeature"),
FSIndexComparator.STANDARD_COMPARE);
irm.createIndex(comp, "shortIndex");
irm.commit();