Changeset 3820
- Timestamp:
- 2003-03-10T10:54:19+13:00 (21 years ago)
- Location:
- trunk/gsdl3/src/java/org/greenstone/gsdl3/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPRetrieve.java
r3799 r3820 52 52 public GS2MGPPRetrieve() 53 53 { 54 System.out.println("Constructing GS2MGPPRetrieve...");55 54 mgpp_src_ = new MGPPWrapper(); 56 55 } … … 72 71 return false; 73 72 } 74 System.out.println("Default level: " + default_level_);73 // System.out.println("Default level: " + default_level_); 75 74 76 75 // Do generic configuration … … 143 142 String basedir = GSFile.collectionBaseDir(site_home_, cluster_name_); 144 143 String textdir = GSFile.collectionTextPath(cluster_name_); 145 System.out.println("Base directory: " + basedir);146 System.out.println("Text directory: " + textdir);147 144 148 145 // Get the documents … … 150 147 for (int i = 0; i < doc_ids.length; i++) { 151 148 String doc_id = doc_ids[i]; 152 System.out.println("Retrieving content of " + doc_id + "...");153 154 149 long doc_num = gdbm_src_.oid2Docnum(doc_id); 155 150 String doc_content = mgpp_src_.getDocument(basedir, textdir, level, doc_num); -
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGRetrieve.java
r3799 r3820 54 54 public GS2MGRetrieve() 55 55 { 56 System.out.println("Constructing GS2MGRetrieve...");57 56 mg_src_ = new MGWrapper(); 58 57 } … … 74 73 return false; 75 74 } 76 System.out.println("Default index: " + default_index_);75 // System.out.println("Default index: " + default_index_); 77 76 78 77 // Do generic configuration … … 147 146 String textdir = GSFile.collectionTextPath(cluster_name_); 148 147 String indexpath = GSFile.collectionIndexPath(cluster_name_, index); 149 System.out.println("Base directory: " + basedir);150 System.out.println("Text directory: " + textdir);151 System.out.println("Index path: " + indexpath);152 148 153 149 mg_src_.setIndex(indexpath); … … 157 153 for (int i = 0; i < doc_ids.length; i++) { 158 154 String doc_id = doc_ids[i]; 159 System.out.println("Retrieving content of " + doc_id + "...");160 161 155 long doc_num = gdbm_src_.oid2Docnum(doc_id); 162 156 String doc_content = mg_src_.getDocument(basedir, textdir, doc_num);
Note:
See TracChangeset
for help on using the changeset viewer.