@ -66,12 +66,18 @@ public class RecrawlBusyThread extends AbstractBusyThread {
privateintchunkstart=0;
privateintchunkstart=0;
privatefinalintchunksize;
privatefinalintchunksize;
final Switchboardsb;
private final Switchboardsb;
/** buffer of urls to recrawl */
/** buffer of urls to recrawl */
privatefinalSet<DigestURL>urlstack;
privatefinalSet<DigestURL>urlstack;
publiclongurlsfound=0;
/** The total number of candidate URLs found for recrawl */
privatelongurlsToRecrawl=0;
privateStringsolrSortBy;
privateStringsolrSortBy;
/** Set to true when more URLs are still to be processed */
privatebooleanmoreToRecrawl=true;
/**
/**
*@paramxsb
*@paramxsb
@ -92,10 +98,10 @@ public class RecrawlBusyThread extends AbstractBusyThread {
this.sb=xsb;
this.sb=xsb;
this.currentQuery=query;
this.currentQuery=query;
this.includefailed=includeFailed;
this.includefailed=includeFailed;
urlstack =newHashSet<DigestURL>();
this.urlstack =newHashSet<DigestURL>();
// workaround to prevent solr exception on existing index (not fully reindexed) since intro of schema with docvalues
// workaround to prevent solr exception on existing index (not fully reindexed) since intro of schema with docvalues
// org.apache.solr.core.SolrCore java.lang.IllegalStateException: unexpected docvalues type NONE for field 'load_date_dt' (expected=NUMERIC). Use UninvertingReader or index with docvalues.
// org.apache.solr.core.SolrCore java.lang.IllegalStateException: unexpected docvalues type NONE for field 'load_date_dt' (expected=NUMERIC). Use UninvertingReader or index with docvalues.