(new UnIndexedSearchTerm("", "", "", "where", "where")).indexValue(theDoc,
- StringUtil.webdbDate2path(entity.getFieldValue("date")) +
+ "/"+ year +"/" + month +
entity.getFieldValue("id") + ".shtml");
(new TextSearchTerm("creator", "search_creator", "creator", "creator",
indexWriter.addDocument(theDoc);
}
catch (Throwable t) {
- aLogger.error("Error while indexing content: " + t.getMessage());
- t.printStackTrace(aLogger.asPrintWriter(LoggerWrapper.DEBUG_MESSAGE));
+ aLogger.error("Error while indexing content: " + t.getMessage(), t);
}
finally {
if (indexWriter != null) {