Add a commented-out CaptureIndex to the default profiles

BrowserProcessor and the WARC writer pick up a CaptureIndex only if the
job declares one. Show how to declare it in both default profiles.
This commit is contained in:
Alex Osborne committed 2026-11-26 17:39:10 +09:00
1 parent 12a02b883b
commit dbb779f899
2 files changed
+11

No files matched your search

@@ -778,6 +778,10 @@ http://example.example/example
</property> -->
</bean>
<!-- CAPTUREINDEX: index of the responses written to WARC files, which the
browser processor replays subresources from instead of refetching them -->
<!-- <bean id="captureIndex" class="org.archive.modules.index.BdbCaptureIndex" /> -->
<!-- CONFIG PATH CONFIGURER: required helper making crawl paths relative
to crawler-beans.cxml file, and tracking crawl files for web UI -->
<bean id="configPathConfigurer"
@@ -25,6 +25,7 @@ import org.archive.modules.canonicalize.*
import org.archive.modules.deciderules.surt.SurtPrefixedDecideRule
import org.archive.modules.extractor.*
import org.archive.modules.fetcher.*
import org.archive.modules.index.BdbCaptureIndex
import org.archive.modules.net.BdbServerCache
import org.archive.modules.processor.BotBlockDetector
import org.archive.modules.processor.Soft404Detector
@@ -716,6 +717,12 @@ http://example.example/example
// bdb = ref('bdb')
}
/**
* CAPTUREINDEX: index of the responses written to WARC files, which the
* browser processor replays subresources from instead of refetching them
*/
// captureIndex(BdbCaptureIndex)
/**
* CONFIG PATH CONFIGURER: required helper making crawl paths relative
* to crawler-beans.cxml file, and tracking crawl files for web U