Changeset 10530
- Timestamp:
- 2005-08-19T11:36:46+12:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r10454 r10530 133 133 134 134 searchtype_manager = new SearchTypeManager(collect_config.getSearchType()); 135 if(searchtype_manager.isMGPPEnabled()) { 135 if(searchtype_manager.isSearchTypeEnabled()) { 136 // note this this could be lucene now, the format is the same as for mgpp 136 137 index_manager = new IndexManager(collect_config.getMGPPIndexes()); 137 138 } -
trunk/gli/src/org/greenstone/gatherer/cdm/IndexManager.java
r10237 r10530 200 200 } 201 201 202 202 public int getNumLevels() { 203 return levels_model.getSize(); 204 } 203 205 private void moveIndex(Index index, boolean move_up) 204 206 { … … 708 710 709 711 public void gainFocus() { 710 boolean mgpp_enabled = CollectionDesignManager.searchtype_manager.is MGPPEnabled();712 boolean mgpp_enabled = CollectionDesignManager.searchtype_manager.isSearchTypeEnabled(); 711 713 if(instruction_textarea != null) { 712 714 instruction_textarea.setCaretPosition(0); -
trunk/gli/src/org/greenstone/gatherer/shell/GBuildProgressMonitor.java
r8243 r10530 506 506 CollectionDesignManager cdm = Gatherer.c_man.getCollection().cdm; 507 507 // If we are using MGPP the number of indexes is always 1 508 if(cdm.searchtype_manager.isMGPP Enabled()) {508 if(cdm.searchtype_manager.isMGPP()) { 509 509 expected_stages = expected_stages + 1; 510 } else if (cdm.searchtype_manager.isLucene()) { 511 // lucene no of indexes == number of levels 512 int num_levels = cdm.index_manager.getNumLevels(); 513 if (num_levels == 0) num_levels = 1; 514 expected_stages = expected_stages + num_levels; 510 515 } 511 516 else {
Note:
See TracChangeset
for help on using the changeset viewer.