Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Provider will automatically retry the operations in case they couldn't be completed because of errors. The maximum retries to execute is configurable using the "maxRetries" option. The default value is "5".

Bulk Settings

Code Block
languagexml
firstline78
linenumberstrue
<!-- noSql database provider for the 4.0 connector framework -->
<noSQLConnectionProvider>
    <implementation>com.accenture.aspire:aspire-elasticsearch-provider</implementation>
    <url>http://localhost:9200</url>
    <useBulk>true</useBulk>
    <bulkSize>100</bulkSize>
    <bulkTimeout>30s</bulkTimeout>
    <bulkWaitTimeout>5m</bulkWaitTimeout>
</noSQLConnectionProvider>

The Provider will bulk for better performance chosen operations if "useBulk" is true (default false). The above example values of remaining parameters are also default values

Profiling Settings

Code Block
languagexml
firstline78
linenumberstrue
<!-- noSql database provider for the 4.0 connector framework -->
<noSQLConnectionProvider>
    <implementation>com.accenture.aspire:aspire-elasticsearch-provider</implementation>
    <url>http://localhost:9200</url>
    <debugOutFile>/tmp/aspire/profile.log</debugOutFile>
</noSQLConnectionProvider>

The Provider will log profiling messages to the specified file.

Full configuration

Code Block
languagexml
firstline78
linenumberstrue
<!-- noSql database provider for the 4.0 connector framework -->
<noSQLConnectionProvider>
    <implementation>com.accenture.aspire:aspire-elasticsearch-provider</implementation>
    <url>http://localhost:9200</url>
    
	<claimPrefetch>300</claimPrefetch>
    <claim>100</claim>
    
	<keepSearchContextAlive>5m</keepSearchContextAlive>
    
	<authentication type="basic">
        <username>admin</username>
        <password>encrypted:password</password>
    </authentication>
    
	<maxRetries>3</maxRetries>
    
	<useBulk>true</useBulk>
    <bulkSize>100</bulkSize>
    <bulkTimeout>30s</bulkTimeout>
    <bulkWaitTimeout>5m</bulkWaitTimeout>
    
	<debugOutFile>/tmp/aspire/profile.log</debugOutFile>
</noSQLConnectionProvider>