private void removeProvidersFromIndexDbFile(File storeDir) { IndexStore indexStore = new IndexStore(storeDir.getPath()); for (Class<? extends PropertyContainer> cls : new Class[] {Node.class, Relationship.class}) { for (String name : indexStore.getNames(cls)) { Map<String, String> config = indexStore.get(cls, name); config = new HashMap<String, String>(config); config.remove(IndexManager.PROVIDER); indexStore.set(Node.class, name, config); } } }
@Override public String[] relationshipIndexNames() { return indexStore.getNames(Relationship.class); }
@Override public String[] nodeIndexNames() { return indexStore.getNames(Node.class); }
@Override public String[] relationshipIndexNames() { assertInTransaction(); return indexStore.getNames(Relationship.class); }
@Override public String[] nodeIndexNames() { assertInTransaction(); return indexStore.getNames(Node.class); }