Skip to main content

Parameters

Hint

This article is generated by AI translation.

jdbc-elastic supports many JDBC URL parameters to control connection behavior, auth, timeouts, etc.

JDBC URL Format
jdbc:dbvisitor:elastic://host:port?param1=value1&param2=value2

Basic Parameters

ParameterDescriptionDefault
usernameAuthentication usernameNone
passwordAuthentication passwordNone

Network & Timeouts

ParameterDescriptionDefault
connectTimeoutConnection timeout (ms)-
socketTimeoutSocket read timeout (ms)-

Behavior Control

ParameterDescriptionDefault
indexRefreshWhether to automatically refresh the index after write operationsfalse

Pre-Read Settings

These parameters are used to control the pre-read behavior for large files or large amounts of data. When pre-read is enabled, the query result set will display all fields in the document, instead of just _ID and _DOC fields.

ParameterDescriptionDefault
preReadWhether to enable pre-readtrue
preReadThresholdPre-read threshold (bytes), triggers file caching if exceeded5MB
preReadMaxFileSizePre-read max file size20MB
preReadCacheDirPre-read cache directorySystem temp dir