System.out.println("Full reindex beginning...");
long fullIndexTime = System.currentTimeMillis();
Participant participant = Rep.getParticipant("scheduler");
Scheduler scheduler = null;
IndexQueueExecutor indexqueue = null;
if (participant != null)
{
scheduler = (Scheduler)participant.getObject("noop");
if (scheduler != null)
{
indexqueue = (IndexQueueExecutor)scheduler.getExecutor("IndexQueue");
if (indexqueue != null)
{
indexqueue.customQueueAction(new IndexQueueAction() {
public void performAction()
{
performReindex(listener);
}
});