-
Notifications
You must be signed in to change notification settings - Fork 298
WatchedCDXSource: Dynamically Adding CDX Indexes
OpenWayback has the ability to monitor a directory structure for the presence of CDX indexes. When OpenWayback launches, any files—which can be filtered using the filters property—found therein will be added as CDX indexes. While running, any files added to watched directories will also be added and similarly, any removed will no longer be referenced.
By default, OpenWayback will only watch a single, specified directory. An optional recursive property will watch subdirectories also.
To configure this, within the CDXCollection.xml file, within the configuration for the localcdxcollection, the source property should be changed thusly:
<property name="source">
<bean class="org.archive.wayback.resourceindex.WatchedCDXSource">
<property name="recursive" value="false" />
<property name="filters">
<list>
<value>^.+\.cdx$</value>
</list>
</property>
<property name="path" value="${wayback.basedir}/cdx-index/" />
</bean>
</property>
Where ${wayback.basedir}/cdx-index/ is a directory where CDX files will be stored. recursive and filters are optional properties, defaulting to the above.
This is similar in functionality to the CompositeSearchResultSource, save that a list of CDX files need not be explicitly referenced, merely their parent directory.
Copyright © 2005-2022 [tonazol](http://netpreserve.org/). CC-BY. https://github.com/iipc/openwayback.wiki.git
POLLEE online fashion* POLLEE fashion* Small medium bisness digital economy world profile image with GDPR 10 year working on EU staff union member supported working on POLLEE tree 🌴 sitters/ link Or COVID 19 coming al employees teacher after end of road my bisness after honestly hardly working on GDPR with sopported working on organised by POLLEE tree 🌴 sitters/ project: hello world 🌎 Safe in child advisor marketing by all social media with publisher/ Wikipedia pages Pollee search engine Nasiruddin miah* GitHub profile image Nasiruddin miah with everyone side working apple . Microsoft 360 video open Google bisness profile add (POLLEE online fashion) Ur support open my biases return my all employees with after right planning working on everyone very week employees owners live organisation working on with worldwide young group running conference event meeting everything planning stays please me with my working journey Nasiruddin miah (POLLEE online fashion) Google maps * 1 tree 🌴 changing in the world 🌍