com.dotmarketing.util.spindle
Class BuildSearchIndexes

java.lang.Object
  extended by com.dotmarketing.util.spindle.BuildSearchIndexes

public class BuildSearchIndexes
extends java.lang.Object

Class to run the spindle indexation process

Author:
Armando Siem

Constructor Summary
BuildSearchIndexes()
           
 
Method Summary
static boolean startIndexation()
          This method execute the indexation process using spindle
static boolean startIndexation(java.util.List<Host> hosts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildSearchIndexes

public BuildSearchIndexes()
Method Detail

startIndexation

public static boolean startIndexation()
This method execute the indexation process using spindle

Parameters:
serverName - String with the server name or ip of the site you want to index
port - integer with a specific port of the site to be index
Returns:
true if the indexation process has completed succesfully, false if not.

startIndexation

public static boolean startIndexation(java.util.List<Host> hosts)


Copyright © 2009 Dotmarketing, Inc. All Rights Reserved.