CORE Properties are configured in %KIM_HOME%/config/coredb.properties
# CoreDbAPI parameters for connecting
com.ontotext.kim.KIMConstants.COREDB_CONNSTRING=jdbc:oracle:thin:@//localhost:1521/orcl
com.ontotext.kim.KIMConstants.COREDB_USER=user
com.ontotext.kim.KIMConstants.COREDB_PASS=pass
com.ontotext.kim.KIMConstants.COREDB_SYNCHRONIZE_COUNT=100
com.ontotext.kim.KIMConstants.COREDB_OPTIMIZE_COUNT=1000
- COREDB_CONNSTRING
The connection string is used to connect to a database runing on certain server and accessible at certain port with the given service name. As long as currently only Oracle 10g databases are supported the usage of the above connection string notation is recommended. At server side there must be a database created, also a database service and a listener must be running in order to access the database.
- COREDB_USER, COREDB_PASS
These parameters set the user and the password to be used when connecting. The main idea is that you may have several users created which have different default tablespaces, this would allow for changing to another set of tables by just changing the user. Note that the users must have DBA rights on their own tablespace, this is required by the CORE module for the initial creation and population of CoreDb tables and creating of indices.
- COREDB_SYNCHRONIZE_COUNT, COREDB_OPTIMIZE_COUNT
These parameters determine the count of documents after which automatic sync or optimize of FTS (full text search) indices will fire. The CoreDbAPI provides methods that take these parameters into account, ignore them, or explicitly force sync or optimize operation. What is important about those operations is that sync simply updates the index so that the content of the new entries is included and optimize rather rewrites it from scratch which may take a long time.