@Test public void isSearchPlatformFile_returnsTrueWhenDirectoryContainsSolrConfig() throws Exception { File configFile = tempFolder.newFolder(INDEX_NAME); assertTrue(platform.isSearchPlatformConfiguration(INDEX_NAME, configFile)); }
@Override public boolean isSearchPlatformConfiguration(String indexName, File file) { return file.isDirectory() && file.getName().equals(indexName); }
ApacheSolr implements SearchPlatform { @Override public boolean isSearchPlatformConfiguration(String indexName, File file) { return file.isDirectory() && file.getName().equals(indexName); } }
ApacheSolr implements SearchPlatform { @Override public boolean isSearchPlatformConfiguration(String indexName, File file) { return file.isDirectory() && file.getName().equals(indexName); }  }
ApacheSolr implements SearchPlatform { @Override public boolean isSearchPlatformConfiguration(String indexName, File file) { return file.isDirectory() && file.getName().equals(indexName); }  @Override void beforeStart(final Map<String, Object> configuration); @Override void load(final File dataToBeIndexed, final File configFolder, final String collection, String version); @Override void start(); @Override void afterStart(); @Override void beforeStop(); @Override void close(); @Override QueryOrSearchResponse executeQuery(final String collection, final String version, final String queryString, final String[] fields, final int maxRows); @Override String getName(); @Override boolean isRefreshRequired(); @Override boolean isSearchPlatformConfiguration(String indexName, File file); @Override boolean isCorporaRequired(); }
ApacheSolr implements SearchPlatform { @Override public boolean isSearchPlatformConfiguration(String indexName, File file) { return file.isDirectory() && file.getName().equals(indexName); }  @Override void beforeStart(final Map<String, Object> configuration); @Override void load(final File dataToBeIndexed, final File configFolder, final String collection, String version); @Override void start(); @Override void afterStart(); @Override void beforeStop(); @Override void close(); @Override QueryOrSearchResponse executeQuery(final String collection, final String version, final String queryString, final String[] fields, final int maxRows); @Override String getName(); @Override boolean isRefreshRequired(); @Override boolean isSearchPlatformConfiguration(String indexName, File file); @Override boolean isCorporaRequired();  }