* <li>unchanged documents, to be left alone, or</li>
* <li>new documents, to be indexed.</li>
* </ol>
*/
public void indexDocument(File file) throws Exception {
IndexConfiguration config = new IndexConfiguration(configFileName);
log.debug("File: " + file);
File dumpDir = new File(config.resolvePath(config.getHTDocsDumpDir()));
log.debug("Dump dir: " + dumpDir);
File indexDir = new File(config.resolvePath(config.getIndexDir()));
log.debug("Index dir: " + indexDir);
String id = IndexIterator.createID(file, dumpDir);