Ignore:
Timestamp:
2004-01-06T11:43:53+13:00 (20 years ago)
Author:
cs025
Message:

Minor changes to build and collection managers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/BuildManager.java

    r6292 r6345  
    6868    // set up the indexers
    6969    this.indexerManager = new IndexerManager(this.docList);
    70     IndexerInterface iface = new MGIndexer();
    71     iface.configure(IndexerManager.outputDir, this.outputDir);
    72     iface.configure(MGIndexer.MG_INDEX, "document:text");
    73     iface.configure(MGIndexer.MG_INDEX, "section:text");
    74     this.indexerManager.addIndexer(iface);
     70
     71    // configure the collection
     72    this.collectionManager.configureCollection(this);
    7573
    7674    // prepare a file crawler on the etc directory, and a crawl observer to respond to
     
    8886  public ClassifierManager getClassifierManager()
    8987  { return this.classifierManager;
     88  }
     89
     90  public IndexerManager getIndexerManager()
     91  { return this.indexerManager;
     92  }
     93
     94  public void addIndexer(IndexerInterface iface)
     95  { iface.configure(IndexerManager.outputDir, this.outputDir);
     96    this.indexerManager.addIndexer(iface);
    9097  }
    9198
Note: See TracChangeset for help on using the changeset viewer.