Indexer.java revision 930
0N/A * See LICENSE.txt included in this distribution for the specific
0N/A * file and include the License file at LICENSE.txt.
65N/A boolean optimizedChanged = false;
0N/A boolean searchRepositories = false;
0N/A boolean addProjects = false;
0N/A boolean refreshHistory = false;
0N/A boolean createDict = false;
77N/A createDict = true;
77N/A addProjects = true;
77N/A refreshHistory = true;
0N/A System.err.println(" Ex: \"-O on\" will optimize the database as part of the index generation");
0N/A optimizedChanged = true;
11N/A searchRepositories = true;
58N/A System.err.println(" Ex: \"-Q on\" will just scan a \"chunk\" of the file and insert \"[..all..]\"");
58N/A System.err.println(" \"-Q off\" will try to build a more accurate list by reading the complete file.");
99N/A e.printStackTrace();
++optind;
progress);
boolean searchRepositories,
boolean addProjects,
boolean refreshHistory,
boolean listFiles,
boolean createDict,
if (searchRepositories) {
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) {
e.printStackTrace();
OpenGrokLogger.getLogger().log(Level.WARNING, "Received interrupt while waiting for executor to finish", exp);
private Indexer() {