Remove obsolete references to deprecated DSIndexer class

This commit is contained in:
Tim Donohue
2016-01-04 16:27:52 -06:00
parent 501e40d87e
commit 3e93d6e55d
2 changed files with 1 additions and 4 deletions

View File

@@ -20,7 +20,6 @@ import org.dspace.eperson.factory.EPersonServiceFactory;
import org.dspace.eperson.service.EPersonService;
import org.dspace.handle.factory.HandleServiceFactory;
import org.dspace.handle.service.HandleService;
import org.dspace.search.DSIndexer;
import java.io.File;
import java.util.ArrayList;
@@ -54,7 +53,6 @@ public class ItemImportCLITool {
public static void main(String[] argv) throws Exception
{
DSIndexer.setBatchProcessingMode(true);
Date startTime = new Date();
int status = 0;
@@ -408,7 +406,6 @@ public class ItemImportCLITool {
System.out.println("***End of Test Run***");
}
} finally {
DSIndexer.setBatchProcessingMode(false);
Date endTime = new Date();
System.out.println("Started: " + startTime.getTime());
System.out.println("Ended: " + endTime.getTime());

View File

@@ -164,7 +164,7 @@ public class IndexEventConsumer implements Consumer {
// update the changed Items not deleted because they were on create list
for (DSpaceObject iu : objectsToUpdate) {
/* we let all types through here and
* allow the search DSIndexer to make
* allow the search indexer to make
* decisions on indexing and/or removal
*/
String hdl = iu.getHandle();