anchor.diff:  					host_id : '#host_id#',
   					create_time : dateformat(qry_doc.create_time, 'yyyymmdd'),
   					change_time : dateformat(qry_doc.change_time, 'yyyymmdd'),
  -					file_type : qry_doc.file_type
  +					file_type : qry_doc.file_type,
  +					is_file : qry_doc.is_file
   				} />
   				<!--- Add result to qoq_doc --->
   				<cfset QueryAddrow(query = qoq_doc, data = q) />
  
positive.code: 		<!--- Query Record --->
  		<cfquery name="qry" datasource="#application.razuna.datasource#">
  	    SELECT DISTINCT f.host_id collection, f.file_id id, f.folder_id_r folder, f.file_name filename, f.file_name_org filenameorg, f.link_kind, f.lucene_key, '0' AS description, '0' AS keywords, 'doc' as category, f.file_meta as rawmetadata, 'doc' as thecategory, f.file_extension theext, x.author, x.rights, x.authorsposition, x.captionwriter, x.webstatement, x.rightsmarked, '0' as thekey, f.file_create_time as create_time, f.file_change_time as change_time,
  	    	'original' as file_type
  		FROM #arguments.prefix#files f 
  		LEFT JOIN #arguments.prefix#files_xmp x ON f.file_id = x.asset_id_r AND x.host_id = <cfqueryparam cfsqltype="cf_sql_numeric" value="#arguments.hostid#">
  		WHERE f.file_id = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#arguments.file_id#">
  
negative.code: 				</cfscript>
  				<cfcatch type="any">
  					<cfset console("#now()# ---------------------- ERROR")>
  					<cfset console(cfcatch)>
  				</cfcatch>
  			</cftry>
  			<cftry>
  				<cfscript>
  					args = {
  					query : qry_records_files,
  					collection : h,
  					category : "category",
  					categoryTree : "id",
  					key : "thekey",
  					title : "id",
  					body : "id",
  					custommap :{
  						id : "id",
  						filename : "filename",
  						filenameorg : "filenameorg",
  						keywords : "keywords",
  						description : "description",
  						rawmetadata : "rawmetadata",
  						extension : "theext",
  						author : "author",
  						rights : "rights",
  						authorsposition : "authorsposition", 
  						captionwriter : "captionwriter", 
  						webstatement : "webstatement", 
  						rightsmarked : "rightsmarked",
  						labels : "labels",
  						customfieldvalue : "customfieldvalue",
  						folderpath : "folderpath",
  						folder : "folder",
  						host_id : "host_id",
  						create_time : "create_time",
  						change_time : "change_time",
  						file_type : "file_type"
  						}
  					};
  					results = CollectionIndexfile( argumentCollection=args );
  				</cfscript>
  				<cfcatch type="any">
  					<cfset console("#now()# ---------------------- ERROR INDEXING FILES")>
  					<cfset console(cfcatch)>
  				</cfcatch>
  			</cftry>
  