Indexer.java revision 994
1364N/A * See LICENSE.txt included in this distribution for the specific
1364N/A * file and include the License file at LICENSE.txt.
1364N/A boolean optimizedChanged = false;
1370N/A boolean searchRepositories = false;
1364N/A boolean addProjects = false;
1370N/A boolean refreshHistory = false;
1364N/A boolean createDict = false;
1383N/A createDict = true;
1383N/A addProjects = true;
1364N/A refreshHistory = true;
1364N/A System.err.println(" Ex: \"-O on\" will optimize the database as part of the index generation");
1364N/A optimizedChanged = true;
1364N/A searchRepositories = true;
1364N/A System.err.println(" Ex: \"-Q on\" will just scan a \"chunk\" of the file and insert \"[..all..]\"");
1364N/A System.err.println(" \"-Q off\" will try to build a more accurate list by reading the complete file.");
1186N/A e.printStackTrace();
1390N/A boolean searchRepositories,
1390N/A boolean addProjects,
1390N/A boolean refreshHistory,
1390N/A boolean createDict,
1186N/A if (searchRepositories) {
1186N/A if (addProjects) {
1186N/A if (refreshHistory) {
1186N/A if (createDict) {
1390N/A throws IOException {
1423N/A OpenGrokLogger.getLogger().log(Level.WARNING, "An error occured while optimizing index", e);
1186N/A e.printStackTrace();
1186N/A OpenGrokLogger.getLogger().log(Level.WARNING, "Received interrupt while waiting for executor to finish", exp);