Log in
Main
Home
News and Events
About TeamWeaver
Team
Recent changes
Tools
Overview
Integrated Search
Woogle
Wiquila
Support
Mailinglists
FAQs
Bugs/Feature requests
Quick links
Source code (SVN)
Tickets (JIRA)
View source
Page
Discussion
View source
History
>>>
From TeamWeaverWiki
for
Crawl config.xml
Jump to:
navigation
,
search
The file <code>repo_config.xml</code> in the <code>\teamweaverIS-backend\WEB-INF\conf</code> of your [[Integrated Search/Installation|TeamWeaverIS backend]] allows you to group repositories to be crawled (c.f. [[repo_config.xml]]) into "crawls" which can be triggered by the [[Integrated Search/Configuration|TeamWeaverIS backend]]. You need at least one crawl to be defined in order to be able to crawl data sources. Defining multiple crawls makes sense, if you would like to group repositories to treat them differently - e.g. one group of repositories to be crawled only once a week while another one is crawled every night. == Example <code>crawl_config.xml</code> == <pre> <?xml version="1.0" encoding="UTF-8"?> <crawl_config> <crawlInfo> <crawlId>0</crawlId> <crawlName>nightly crawl</crawlName> <updateFrequency>3600000</updateFrequency> <repositoryIds> <repositoryId>1</repositoryId> <repositoryId>2</repositoryId> <repositoryId>3</repositoryId> </repositoryIds> </crawlInfo> </crawl_config> </pre> == Documentation of parameters == * <code>crawl_config.xml</code> contains <code><crawlInfo></code> entries for each single crawl that should be possible to start from the command line ("<code>crawl.bat 0</code>") * The parameters inside the <code><crawlInfo></code> element are as follows: ** <code><crawlId>0</crawlId></code> - unique numeric id of the crawl which is used from the command line to reference the crawl ** <code><crawlName>nightly crawl</crawlName></code> - human readable description for logging/documentation purposes ** <code><updateFrequency>3600000</updateFrequency></code> - parameter is currently not used ('''OPTIONAL''') ** <code><repositoryIds><repositoryId>1</repositoryId><repositoryId>2</repositoryId><repositoryId>3</repositoryId></repositoryIds></code> - insert one <code><repositoryId></code> element for each repository to be included in that crawl (use the Id define int [[repo_config.xml]] for referencing)
Return to
Crawl config.xml
.
Privacy policy
About TeamWeaverWiki
Disclaimers
Powered by MediaWiki
Design by Paul Gu