if not deleting an index, don't delete the gateway data...
This commit is contained in:
parent
7564453fcb
commit
aae4e4ab61
|
@ -86,6 +86,9 @@ public class FsIndexGateway extends AbstractIndexComponent implements IndexGatew
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void close(boolean delete) {
|
@Override public void close(boolean delete) {
|
||||||
|
if (!delete) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
String[] files = indexGatewayHome.list();
|
String[] files = indexGatewayHome.list();
|
||||||
if (files == null || files.length == 0) {
|
if (files == null || files.length == 0) {
|
||||||
|
|
Loading…
Reference in New Issue