// retrieve configured indexing rule
String itemName = (String) itemNames.next();
LuceneIndexItemRule rule = retrieveItemRule(db, itemName);
if (rule == null) {
throw new WGConfigurationException("No lucene configuration available for database " + db.getDbReference() +". The database may have been removed from lucene index.");
}
if (rule.getIndexType().equals(LuceneIndexItemRule.INDEX_TYPE_FULLTEXT)) {
addToFulltextIndex(content, document, itemName, rule);
}