anchor.diff:  			<cfif cgi.http_host CONTAINS "razuna.com">
   				AND h.host_type != 0
   			</cfif>
  +			<cfif arguments.dbtype NEQ "mssql">LIMIT 5000</cfif>
   			UNION ALL
  -			SELECT v.host_id as host_id, h.host_db_prefix as prefix, v.vid_id as file_id, 'vid' as category, 'T' as notfile
  +			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">
  
positive.code: 		<!--- Log --->
  		<cfset console("#now()# ---------------------- Starting indexing")>
  		<!--- Get all hosts to index. This will abort if nothing found. --->
  		<cfset qryAllHostsAndFiles = _getHosts(config.conf_db_prefix) />
  		<!--- 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 --->
  
negative.code: 	<!--- Get all hosts --->
  	<cffunction name="_getHosts" access="private">
  		<cfargument name="prefix" required="true">
  		<cfargument name="dbtype" required="true">
  		<!--- Log --->
  		<cfset console("#now()# ---------------------- Grabing hosts and files for indexing")>
  		<!--- Var --->
  