IdolCommitter
Commit documents to OpenText IDOL search engine.
Notes
Commits crawled documents to an OpenText IDOL search engine. Supports Connector Framework Server (CFS) integration, optional database name configuration, and custom DREADDDATA and DREDELETEREF request parameters.
Examples
The following example uses the minimum required settings to configure IDOL Committer.
- YAML
- JSON
- XML
class: IdolCommitter
url: http://some_host:9100
databaseName: some_database
{
"class": "IdolCommitter",
"url": "http://some_host:9100",
"databaseName": "some_database"
}
<committer>
<class>IdolCommitter</class>
<url>http://some_host:9100</url>
<databaseName>some_database</databaseName>
</committer>
Usage
Full configuration skeleton, with every option and its default
- YAML
- JSON
- XML
class: IdolCommitter
acl:
flatPrefix: string
format: NATIVE
partial: REJECT
cfs: false
databaseName: string
dreAddDataParams: {}
dreDeleteRefParams: {}
fieldMappings: {}
queue:
class: FsQueue
batchSize: 0
commitLeftoversOnInit: false
maxPerFolder: 0
onCommitFailure:
ignoreErrors: false
maxRetries: 0
retryDelay: 0
splitBatch: OFF
restrictions:
- fieldMatcher: {}
valueMatcher: {}
sourceContentField: string
sourceReferenceField: string
url: string
{
"class": "IdolCommitter",
"acl": {
"flatPrefix": "string",
"format": "NATIVE",
"partial": "REJECT"
},
"cfs": false,
"databaseName": "string",
"dreAddDataParams": {},
"dreDeleteRefParams": {},
"fieldMappings": {},
"queue": {
"class": "FsQueue",
"batchSize": 0,
"commitLeftoversOnInit": false,
"maxPerFolder": 0,
"onCommitFailure": {
"ignoreErrors": false,
"maxRetries": 0,
"retryDelay": 0,
"splitBatch": "OFF"
}
},
"restrictions": [
{
"fieldMatcher": {},
"valueMatcher": {}
}
],
"sourceContentField": "string",
"sourceReferenceField": "string",
"url": "string"
}
<idolCommitter>
<class>IdolCommitter</class>
<acl>
<flatPrefix>string</flatPrefix>
<format>NATIVE</format>
<partial>REJECT</partial>
</acl>
<cfs>false</cfs>
<databaseName>string</databaseName>
<dreAddDataParams/>
<dreDeleteRefParams/>
<fieldMappings/>
<queue>
<class>FsQueue</class>
<batchSize>0</batchSize>
<commitLeftoversOnInit>false</commitLeftoversOnInit>
<maxPerFolder>0</maxPerFolder>
<onCommitFailure/>
</queue>
<restrictions>
<restriction>
<fieldMatcher/>
<valueMatcher/>
</restriction>
</restrictions>
<sourceContentField>string</sourceContentField>
<sourceReferenceField>string</sourceReferenceField>
<url>string</url>
</idolCommitter>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
acl | AclCommitterConfig | No | AclCommitterConfig |
cfs | boolean | No | false |
databaseName | string | No | - |
dreAddDataParams | Record<string, string> | No | - |
dreDeleteRefParams | Record<string, string> | No | - |
fieldMappings | Record<string, string> | No | - |
queue | CommitterQueue | No | FsQueue |
restrictions | PropertyMatcher[] | No | - |
sourceContentField | string | No | - |
sourceReferenceField | string | No | - |
url | string | No | http://localhost:9001 |
Property Details
acl
How this committer sends the access control list (ACL) a document carries in its crawler.acl field, written by the
fetchers that read a source's permissions:
format:JSONsends the field as it is;FLATreplaces it with plain fields (below);NATIVEwrites it as the destination's own access control, for committers whose destination has one;NONEdoes not send it. When not set, the committer's default applies (NATIVEwhere available, otherwiseJSON).partial: what to do with a document whose permissions could only be read in part:REJECT(the default) orSEND.flatPrefix: the prefix of theFLATfields. Default isacl.
A document whose permissions cannot be vouched for is withheld: it is not sent, a version sent before is removed
from the destination, and the crawler tries it again on its next run. That is the case when its ACL is partial and
partial is REJECT, when its permissions could not be read at all, when the ACL is unreadable or of an unknown
version, or when NATIVE cannot express it. A withheld document is never sent as readable by everyone.
With FLAT, acl.levels names the checks a person must pass, in order, and each level has an allow field and a deny
field holding principals as kind:dir:id (or special:id):
acl.levels = share, file
acl.share.allow = group:ad:CORP:Sales
acl.file.allow = group:ad:CORP:Sales
acl.file.deny = group:ad:CORP:Interns
acl.owners = user:ad:CORP:pascal
A person may see the document if they match an allow value of every level and no deny value of any.
cfs
The URL points to a Connector Framework Server (CFS).
databaseName
Optional name of IDOL database where documents will be stored.
dreAddDataParams
Additional parameters sent with requests for new and updated documents.
dreDeleteRefParams
Additional parameters sent with requests for deleted documents.
fieldMappings
Mapping of source fields to target ones (IDOL fields).
queue
Configures the committer queue used to batch documents before sending them to the target system. Adjust queue settings to tune throughput and memory usage.
restrictions
Defines filter conditions that restrict which documents this committer processes. Documents not matching the restrictions are ignored by this committer.
sourceContentField
The document field name containing the value to be stored in IDOL DRECONTENT field. Leave blank to use the document content instead of a field (default).
sourceReferenceField
The document field name containing the value to be stored in IDOL DREREFERENCE field. Leave blank to use the document reference instead of a field (default).
url
The IDOL index URL. Default is http://localhost:9001)