ForumsIndexing.java
package sk.iway.iwcm.system.fulltext.jobs;
import sk.iway.iwcm.system.fulltext.FulltextSearch;
import sk.iway.iwcm.system.fulltext.indexed.Forums;
import sk.iway.iwcm.system.fulltext.lucene.IndexSearcherBuilder;
/**
* ForumsIndexing.java
*
*@Title webjet7
*@Company Interway s.r.o. (www.interway.sk)
*@Copyright Interway s.r.o. (c) 2001-2011
*@author $Author: jeeff thaber $
*@version $Revision: 1.3 $
*@created Date: 1.6.2011 14:37:41
*@modified $Date: 2004/08/16 06:26:11 $
*/
public class ForumsIndexing
{
public static void main(String[] args)
{
try
{
Forums indexed = new Forums();
FulltextSearch.index(indexed, null);
IndexSearcherBuilder.refresh();
}
catch (Exception e)
{
sk.iway.iwcm.Logger.error(e);
}
}
}