Created
May 29, 2019 15:49
-
-
Save youssefeldakar/15f99bc173b7bc15c72e5d7a06ad34fd to your computer and use it in GitHub Desktop.
OpenWayback CDXCollection with ZipNum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<beans xmlns="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" | |
default-init-method="init"> | |
<bean id="localcdxcollection" class="org.archive.wayback.webapp.WaybackCollection"> | |
<property name="resourceStore"> | |
<bean class="org.archive.wayback.resourcestore.LocationDBResourceStore"> | |
<property name="db" ref="resourcefilelocationdb" /> | |
</bean> | |
</property> | |
<property name="resourceIndex"> | |
<bean class="org.archive.wayback.resourceindex.LocalResourceIndex"> | |
<property name="canonicalizer" ref="waybackCanonicalizer" /> | |
<property name="source"> | |
<bean class="org.archive.wayback.resourceindex.ZipNumClusterSearchResultSource"> | |
<property name="cluster"> | |
<bean class="org.archive.format.gzip.zipnum.ZipNumCluster"> | |
<property name="summaryFile" value="/srv/zipnum-cdx/all.summary"/> | |
<property name="locFile" value="/srv/zipnum-cdx/all.loc" /> | |
</bean> | |
</property> | |
<property name="params"> | |
<bean class="org.archive.format.gzip.zipnum.ZipNumParams"/> | |
</property> | |
</bean> | |
</property> | |
<property name="maxRecords" value="1000000" /> | |
<property name="dedupeRecords" value="true" /> | |
</bean> | |
</property> | |
</bean> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment