Indexer.java revision 1185
919N/A * See LICENSE.txt included in this distribution for the specific
919N/A * file and include the License file at LICENSE.txt.
824N/A boolean optimizedChanged = false;
824N/A boolean searchRepositories = false;
824N/A boolean addProjects = false;
824N/A boolean refreshHistory = false;
824N/A boolean createDict = false;
createDict = true;
runIndex = false;
addProjects = true;
runIndex = false;
refreshHistory = true;
optimizedChanged = true;
searchRepositories = true;
System.err.println(" Ex: \"-Q on\" will just scan a \"chunk\" of the file and insert \"[..all..]\"");
System.err.println(" \"-Q off\" will try to build a more accurate list by reading the complete file.");
} catch (Exception e) {
listRepos = true;
} catch (Exception e) {
++optind;
progress);
boolean searchRepositories,
boolean addProjects,
boolean refreshHistory,
boolean listFiles,
boolean createDict,
if (listRepoPathes) {
boolean all = false;
all = true;
if (all) {
} catch (HistoryException e) {
+ e.getLocalizedMessage());
if (addProjects) {
int ret;
return ret;
if (refreshHistory) {
if (listFiles) {
if (createDict) {
throws IOException {
if (update) {
public void run() {
if (update) {
} else if (optimize) {
} catch (Exception e) {
if (update) {
OpenGrokLogger.getLogger().log(Level.WARNING, "Received interrupt while waiting for executor to finish", exp);
log.log(Level.SEVERE, "Failed to send configuration to " + configHost+" (is web application server running with opengrok deployed?)", ex);
private Indexer() {