@Test void testUpgrade() { step41Reindex.upgrade(); verify(clientFacade).deleteIndex(attributeIndex); }
@Override public void upgrade() { LOG.debug("Removing attribute index to trigger a full reindex..."); try { clientFacade.deleteIndex(Index.create("sysmdattribute_c8d9a252")); LOG.info("The standard tokenizer got changed, will do a full reindex."); } catch (UnknownIndexException ignore) { LOG.info("Index not found, full index will be done already."); } }
Step41Reindex extends MolgenisUpgrade { @Override public void upgrade() { LOG.debug("Removing attribute index to trigger a full reindex..."); try { clientFacade.deleteIndex(Index.create("sysmdattribute_c8d9a252")); LOG.info("The standard tokenizer got changed, will do a full reindex."); } catch (UnknownIndexException ignore) { LOG.info("Index not found, full index will be done already."); } } }
Step41Reindex extends MolgenisUpgrade { @Override public void upgrade() { LOG.debug("Removing attribute index to trigger a full reindex..."); try { clientFacade.deleteIndex(Index.create("sysmdattribute_c8d9a252")); LOG.info("The standard tokenizer got changed, will do a full reindex."); } catch (UnknownIndexException ignore) { LOG.info("Index not found, full index will be done already."); } } Step41Reindex(ClientFacade clientFacade); }
Step41Reindex extends MolgenisUpgrade { @Override public void upgrade() { LOG.debug("Removing attribute index to trigger a full reindex..."); try { clientFacade.deleteIndex(Index.create("sysmdattribute_c8d9a252")); LOG.info("The standard tokenizer got changed, will do a full reindex."); } catch (UnknownIndexException ignore) { LOG.info("Index not found, full index will be done already."); } } Step41Reindex(ClientFacade clientFacade); @Override void upgrade(); }
Step41Reindex extends MolgenisUpgrade { @Override public void upgrade() { LOG.debug("Removing attribute index to trigger a full reindex..."); try { clientFacade.deleteIndex(Index.create("sysmdattribute_c8d9a252")); LOG.info("The standard tokenizer got changed, will do a full reindex."); } catch (UnknownIndexException ignore) { LOG.info("Index not found, full index will be done already."); } } Step41Reindex(ClientFacade clientFacade); @Override void upgrade();  }