use of net.jforum.search.LuceneReindexer in project jforum2 by rafaelsteil.
the class LuceneStatsAction method reconstructIndexFromScratch.
public void reconstructIndexFromScratch() {
LuceneReindexArgs args = this.buildReindexArgs();
boolean recreate = "recreate".equals(this.request.getParameter("indexOperationType"));
LuceneReindexer reindexer = new LuceneReindexer(this.settings(), args, recreate);
reindexer.startBackgroundProcess();
this.list();
}
use of net.jforum.search.LuceneReindexer in project jforum2 by rafaelsteil.
the class LuceneCommandLineReindexer method start.
private void start() {
LuceneReindexer reindexer = new LuceneReindexer((LuceneSettings) SystemGlobals.getObjectValue(ConfigKeys.LUCENE_SETTINGS), this.reindexerArgs, this.recreate);
reindexer.startProcess();
}
Aggregations