Skip to main content

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.

class: IdolCommitter
url: http://some_host:9100
databaseName: some_database

Usage​

Full configuration skeleton, with every option and its default
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

Properties​

PropertyTypeRequiredDefault
aclAclCommitterConfigNoAclCommitterConfig
cfsbooleanNofalse
databaseNamestringNo-
dreAddDataParamsRecord<string, string>No-
dreDeleteRefParamsRecord<string, string>No-
fieldMappingsRecord<string, string>No-
queueCommitterQueueNoFsQueue
restrictionsPropertyMatcher[]No-
sourceContentFieldstringNo-
sourceReferenceFieldstringNo-
urlstringNohttp://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: JSON sends the field as it is; FLAT replaces it with plain fields (below); NATIVE writes it as the destination's own access control, for committers whose destination has one; NONE does not send it. When not set, the committer's default applies (NATIVE where available, otherwise JSON).
  • partial: what to do with a document whose permissions could only be read in part: REJECT (the default) or SEND.
  • flatPrefix: the prefix of the FLAT fields. Default is acl.

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)