Home

Awesome

Salesforce Data Store for Fess Java CI with Maven

Overview

Salesforce Data Store is an extension for Fess Data Store Crawling.

Download

See Maven Repository.

Installation

See Plugin of Administration guide.

Getting Started

Parameters

base_url=https://login.salesforce.com
auth_type=oauth_token
username=admin@example.com
client_id=...
private_key=...
number_of_threads=1
ignoreError=true
custom=FessObj,...
FessObj.title=name
FessObj.contents=name,body
KeyValue
base_urlURL of the Salesforce server (eg: https://test.salesforce.com)
usernameUsername
auth_typeoauth_token or oauth_password (if you choose oauth_password, you have to set client_secret and security_token)
client_idConsumer key
private_keyPrivate key (required for oauth_token only)
client_secretConsumer secret (required for oauth_password only)
security_tokenSecurity token (required for oauth_password only)
customNames of the Custom Objects that you created on the Salesforce (split by ,).
${object_name}.titleField names of the Custom Objects that correspond to titles of documents
${object_name}.contentField names of the Custom Objects that correspond to contents of documents

Scripts

title="[" + object.type + "] " + object.title
digest=object.description
content=object.content
created=object.created
timestamp=object.last_modified
url=object.url
KeyValue
object.typeThe type of the Salesforce object (e.g. Case, User, Solution ...)
object.titleThe name of the Salesforce object.
object.descriptionA short description of the Salesforce object.
object.contentThe text contents of the Salesforce object
object.idThe id of the Salesforce object
object.content_lengthThe content length of the Salesforce object
object.createdThe time when the Salesforce object was created.
object.last_modifiedThe last time the Salesforce object was modified.
object.urlThe URL of the Salesforce object
object.thumbnailThe thumbnail URL of the Salesforce object