Project

General

Profile

« Previous | Next » 

Revision 5849

Added by berkley over 13 years ago

added some debug lines

View differences:

src/edu/ucsb/nceas/metacat/MetacatHandler.java
2176 2176
                    Iterator<String> it = documents.iterator();
2177 2177
                    while (it.hasNext()) {
2178 2178
                        String id = it.next();
2179
                        System.out.println("building doc index for all documents");
2179 2180
                        buildDocumentIndex(id, out);
2181
                        System.out.println("done building doc index for all documents");
2180 2182
                    }
2181 2183
                } catch (SQLException se) {
2182 2184
                    out.print("<error>");
......
2186 2188
            } else {
2187 2189
                // Only process the requested documents
2188 2190
                for (int i = 0; i < docid.length; i++) {
2191
                    System.out.println("building doc index for document " + docid[i]);
2189 2192
                    buildDocumentIndex(docid[i], out);
2193
                    System.out.println("done building doc index for document " + docid[i]);
2190 2194
                }
2191 2195
            }
2192 2196
            out.println("</success>");

Also available in: Unified diff