String s = Val.chkStr(params.getValue("lucene.alwaysStoreXmlInIndex"));
boolean alwaysStoreXmlInIndex = !s.equalsIgnoreCase("false");
// determine if collections are being used
List<String[]> collections = null;
CollectionDao colDao = new CollectionDao(this.getRequestContext());
boolean hasCollections = false;
boolean useCollections = colDao.getUseCollections();
String sColMemberTable = colDao.getCollectionMemberTableName();
String sqlCol = "SELECT COLUUID FROM "+sColMemberTable+" WHERE DOCUUID=?";
if (useCollections) {
collections = colDao.queryCollections();
hasCollections = (collections.size() > 0);
}
// determine the storeables
Document document = new Document();