anchor.diff:  		<!--- Log --->
   		<cfset console("#now()# ---------------------- Starting indexing")>
   		<!--- Get all hosts to index. This will abort if nothing found. --->
  -		<cfset qryAllHostsAndFiles = _getHosts(config.conf_db_prefix) />
  +		<cfset qryAllHostsAndFiles = _getHosts(prefix=config.conf_db_prefix, dbtype=config.conf_db_type) />
   		<!--- Check for lock file. This return a new qry with hosts that can be processed --->
   		<cfset var _qryNew = _lockFile(qryAllHostsAndFiles) />
   		<!--- Download doc files if cloud based --->
  
positive.code: 			<cfif cgi.http_host CONTAINS "razuna.com">
  				AND h.host_type != 0
  			</cfif>
  			UNION ALL
  			SELECT f.host_id as host_id, h.host_db_prefix as prefix, f.file_id as file_id, 'doc' as category, 'F' as notfile
  			FROM #prefix#files f, hosts h
  			WHERE f.host_id = h.host_id		
  			AND f.is_indexed = <cfqueryparam cfsqltype="cf_sql_varchar" value="0">
  
negative.code: 			<cfif cgi.http_host CONTAINS "razuna.com">
  				AND h.host_type != 0
  			</cfif>
  			<cfif arguments.dbtype NEQ "mssql">LIMIT 5000</cfif>
  			UNION ALL
  			SELECT<cfif arguments.dbtype EQ "mssql"> TOP 5000</cfif> v.host_id as host_id, h.host_db_prefix as prefix, v.vid_id as file_id, 'vid' as category, 'T' as notfile
  			FROM #prefix#videos v, hosts h
  			WHERE v.host_id = h.host_id		
  			AND v.is_indexed = <cfqueryparam cfsqltype="cf_sql_varchar" value="0">
  