mirror of https://github.com/apache/lucene.git
SOLR-5695: Make best effort to clean up suggester index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566388 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9b46f41aa2
commit
ec096aca16
|
@ -38,9 +38,9 @@ public class TestAnalyzeInfixSuggestions extends SolrTestCaseJ4 {
|
|||
File indexPathDir = new File("analyzingInfixSuggesterIndexDir");
|
||||
File indexPathDirTmp = new File("analyzingInfixSuggesterIndexDir.tmp");
|
||||
if (indexPathDir.exists())
|
||||
assertTrue(recurseDelete(indexPathDir));
|
||||
recurseDelete(indexPathDir);
|
||||
if (indexPathDirTmp.exists())
|
||||
assertTrue(recurseDelete(indexPathDirTmp));
|
||||
recurseDelete(indexPathDirTmp);
|
||||
}
|
||||
|
||||
public void testSingle() throws Exception {
|
||||
|
|
|
@ -37,9 +37,9 @@ public class TestBlendedInfixSuggestions extends SolrTestCaseJ4 {
|
|||
File indexPathDir = new File("blendedInfixSuggesterIndexDir");
|
||||
File indexPathDirTmp = new File("blendedInfixSuggesterIndexDir.tmp");
|
||||
if (indexPathDir.exists())
|
||||
assertTrue(recurseDelete(indexPathDir));
|
||||
recurseDelete(indexPathDir);
|
||||
if (indexPathDirTmp.exists())
|
||||
assertTrue(recurseDelete(indexPathDirTmp));
|
||||
recurseDelete(indexPathDirTmp);
|
||||
}
|
||||
|
||||
public void testLinearBlenderType() {
|
||||
|
|
Loading…
Reference in New Issue