Package com.norconex.committer.idol
Class IdolCommitterConfig
java.lang.Object
com.norconex.committer.idol.IdolCommitterConfig
- All Implemented Interfaces:
Serializable
IDOL Committer configuration.
- Author:
- Pascal Essiembre
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets IDOL database name.Gets theDREADDDATAoptional URL parameters.Gets theDREDELETEREFoptional URL parameters.Gets the document field name containing the value to be stored in IDOLDRECONTENTfield.Gets the document field name containing the value to be stored in IDOLDREREFERENCEfield.getUrl()Gets the IDOL index URL (default ishttp://localhost:9001).inthashCode()booleanisCfs()Gets whether the IDOL index URL points to a Connector Framework Server (CFS).voidsetCfs(boolean cfs) Sets whether the IDOL index URL points to a Connector Framework Server (CFS).voidsetDatabaseName(String databaseName) Sets IDOL database name.voidsetSourceContentField(String sourceContentField) Sets the document field name containing the value to be stored in IDOLDRECONTENTfield.voidsetSourceReferenceField(String sourceReferenceField) Sets the document field name containing the value to be stored in IDOLDREREFERENCEfield.voidSets the IDOL index URL (default ishttp://localhost:9001).toString()
-
Field Details
-
DEFAULT_URL
- See Also:
-
-
Constructor Details
-
IdolCommitterConfig
public IdolCommitterConfig()
-
-
Method Details
-
getUrl
Gets the IDOL index URL (default ishttp://localhost:9001).- Returns:
- IDOL URL
-
setUrl
Sets the IDOL index URL (default ishttp://localhost:9001).- Parameters:
url- the IDOL URL
-
isCfs
public boolean isCfs()Gets whether the IDOL index URL points to a Connector Framework Server (CFS).- Returns:
trueif committing to a CFS server
-
setCfs
public void setCfs(boolean cfs) Sets whether the IDOL index URL points to a Connector Framework Server (CFS).- Parameters:
cfs-trueif committing to a CFS server
-
getDatabaseName
Gets IDOL database name.- Returns:
- IDOL database name
-
setDatabaseName
Sets IDOL database name.- Parameters:
databaseName- IDOL database name
-
getDreAddDataParams
Gets theDREADDDATAoptional URL parameters.- Returns:
- URL parameters (key=parameter name; value=parameter value)
-
getDreDeleteRefParams
Gets theDREDELETEREFoptional URL parameters.- Returns:
- URL parameters (key=parameter name; value=parameter value)
-
getSourceReferenceField
Gets the document field name containing the value to be stored in IDOLDREREFERENCEfield. Default is not a field, but rather the document reference.- Returns:
- name of field containing id value
-
setSourceReferenceField
Sets the document field name containing the value to be stored in IDOLDREREFERENCEfield. Set tonullin order to use the document reference instead of a field (default).- Parameters:
sourceReferenceField- name of field containing reference value, ornull
-
getSourceContentField
Gets the document field name containing the value to be stored in IDOLDRECONTENTfield. Default is not a field, but rather the document content stream.- Returns:
- name of field containing content value
-
setSourceContentField
Sets the document field name containing the value to be stored in IDOLDRECONTENTfield. Set tonullin order to use the document content stream instead of a field (default).- Parameters:
sourceContentField- name of field containing content value, ornull
-
equals
-
hashCode
public int hashCode() -
toString
-