()
| 121 | } |
| 122 | |
| 123 | public void commit() throws IOException { |
| 124 | for (int i = 0; i < this.indexWriters.length; i++) { |
| 125 | try { |
| 126 | this.indexWriters[i].commit(); |
| 127 | } catch (IOException ioe) { |
| 128 | throw ioe; |
| 129 | } |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | // lists the active IndexWriters and their configuration |
| 134 | public String describe() throws IOException { |