}
GptCollections gptCollections = null;
if (gptdb2SolrInstance.isGptIncludeCollections()) {
gptCollections = new GptCollections();
gptCollections.querySqlDB(context,con,resource.docuuid);
}
SolrInputDocument doc = makeDoc(id,resource,user,resourceXml,parentSite,gptCollections);
//System.err.println(doc);
updateDoc(doc);