The IBM Connections Scanner component performs full and incremental scans over a IBM Connections Site, the timestamp attribute of the Seedlist's (Activities, Blogs, Files, Forums, etc) are saved to performed the incremental crawl if necessary. Updated content is then submitted to the configured pipeline in AspireObjects attached to Jobs. As well as the URL of the changed item, the AspireObject will also contain metadata extracted from the repository. Updated content is split in to three types: add, update, and delete. Each type of content is published on a different event so that it may be handled by different Aspire pipelines

The scanner reacts to an incoming job. This job may instruct the scanner to start, stop, pause or resume. Typically the start job will contain all information required by the job to perform the crawl. However, the scanner can be configured with default values via application.xml file. When pausing or stopping, the scanner will wait until all the jobs it published have completed before itself completing.

IBM Connections Scanner (Aspire 2)
Factory Name com.searchtechnologies.aspire:aspire-ibmconnections-connector
subType default
Inputs AspireObject from a content source submitter holding all the information required for a crawl
Outputs Jobs from the crawl

Input Job Parameters

The scanner recognizes the following parameters on the control Job:

ElementTypeDescription
idintThe database id from the aspire_content_sources table.
@crawlIdintThe crawl id from the content database.
@actionStringThe control job action - start, stop, pause or resume.
@actionPropertiesStringProperties for the crawl - full or incremental.
connectorSource/IBMServerStringThe Url of the IBM Connection server to crawl (you have to specify the protocol).
connectorSource/IBMUserStringThe Username to connect with.
connectorSource/IBMPasswordStringThe password of the Username to connect with.
connectorSource/IBMTimeStampDirStringPath of the directory used to save the timestamp values, later required to performed an incremental crawl. If neccessary.
connectorSource/Page SizeIntegerSpecifies the number of entries per page to return in the crawl
connectorSource/useSSLBooleantrue if the connector is going to use authentication to connect.
connectorSource/IBMSSLDirStringPath of the certificate to the websphere trust store. If required.
connectorSource/IBMSSLPasswordStringPassword of the certificate.
connectorSource/crawlAllAppsBooleantrue if the connector will crawl all available applications (Activities, Blogs, Bookmarks, Communities, Files, Forums, Profiles, and Wikis)false You have to choose which applications are going to be crawled.



Configuration

The scanner recognizes the following configuration parameters:

ElementTypeDefaultDescription
IBMServerString
The Url of the IBM Connection server to crawl (you have to specify the protocol).
IBMUserString
The Username to connect with.
IBMPasswordString
The password of the Username to connect with.
IBMTimeStampDirString
Path of the directory used to save the timestamp values, later required to performed an incremental crawl. If neccessary.
Page SizeInteger
Specifies the number of entries per page to return in the crawl
useSSLBooleanfalsetrue if the connector is going to use authentication to connect.
IBMSSLDirString
Path of the certificate to the websphere trust store. If required.
IBMSSLPasswordString
Password of the certificate.
crawlAllAppsBooleanfalse The user will be able to select only the applications that he wants to crawl.true if the connector will crawl all available applications (Activities, Blogs, Bookmarks, Communities, Files, Forums, Profiles, and Wikis)


Branch Configuration

This component publishes to the onAdd, onDelete and onUpdate, so a branch must be configured for each of these three events.

ElementTypeDescription
branches/branch/@eventstringThe event to configure - onAdd, onDelete or onUpdate.
branches/branch/@pipelineManagerstringThe name of the pipeline manager to publish to. Can be relative.
branches/branch/@pipelinestringThe name of the pipeline to publish to. If missing, publishes to the default pipeline for the pipeline manager.



Example Configuration

<component name="IBMScanner" subType="default" factoryName="aspire-ibmconnections-connector">
	<debug>${debug}</debug>
	<snapshotDir>${IBMsnapshotDir}</snapshotDir>
	<updaterComponent>../JobStatusUpdater</updaterComponent>
	<branches>
		<branch event="onAdd" pipelineManager="../ProcessPipelineManager"
			pipeline="add-update-pipeline" allowRemote="true" batching="true"
			batchSize="50" batchTimeout="60000" simultaneousBatches="2" />
		<branch event="onUpdate" pipelineManager="../ProcessPipelineManager"
			pipeline="add-update-pipeline" allowRemote="true" batching="true"
			batchSize="50" batchTimeout="60000" simultaneousBatches="2" />
		<branch event="onDelete" pipelineManager="../ProcessPipelineManager"
			pipeline="post-to-search-engine-pipeline" allowRemote="true"
			batching="true" batchSize="50" batchTimeout="60000"
			simultaneousBatches="2" />
	</branches>
</component>


  • No labels