Indexer.java revision 290
850N/A * See LICENSE.txt included in this distribution for the specific
850N/A * file and include the License file at LICENSE.txt.
1121N/A boolean searchRepositories = false;
1121N/A boolean addProjects = false;
1121N/A boolean refreshHistory = false;
1121N/A boolean createDict = false;
1121N/A createDict = true;
1121N/A System.err.println(" Ex: \"-O on\" will optimize the database as part of the index generation");
1121N/A System.err.println(" Ex: \"-Q on\" will just scan a \"chunk\" of the file and insert \"[..all..]\"");
1121N/A System.err.println(" \"-Q off\" will try to build a more accurate list by reading the complete file.");
1121N/A e.printStackTrace();
} 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() {