Indexer.java revision 293
715N/A * See LICENSE.txt included in this distribution for the specific
715N/A * file and include the License file at LICENSE.txt.
726N/A boolean searchRepositories = false;
726N/A boolean addProjects = false;
726N/A boolean refreshHistory = false;
726N/A boolean createDict = false;
switch (cmd) {
listFiles = true;
runIndex = false;
createDict = true;
runIndex = false;
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) {
e.printStackTrace();
++optind;
} catch (IOException e) {
if (searchRepositories) {
if (addProjects) {
int ret;
return ret;
if (refreshHistory) {
if (listFiles) {
if (createDict) {
if (runIndex) {
public void run() {
if (update) {
} else if (optimize) {
} catch (Exception e) {
e.printStackTrace();
} catch (Exception e) {
} catch (Exception e) {
e.printStackTrace();
private Indexer() {