The JDBC Index Stage is used to connect to a database, lookup one or more values, and then inject them into the context. The properties for setting stage are identical to the JDBC Query Stage, except for the “rows” property, which defaults to -1 for the index stage (which returns all rows in the database), and defaults to 10 returned rows for the query stage.Documentation Index
Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt
Use this file to discover all available pages before exploring further.
You must first upload a JDBC Driver to Lucidworks Search.
Upload a JDBC Driver to Lucidworks Search
Upload a JDBC Driver to Lucidworks Search
The JDBC connector fetches documents from a relational database via SQL queries. Under the hood, this connector implements the Solr DataImportHandler (DIH) plugin.Lucidworks Search stores JDBC drivers in the blob store. You can upload a driver using the Lucidworks Search UI or the Blob Store API. Learn more about the JDBC V2 connector.
How to upload a JDBC driver using the Fusion UI
- In the Lucidworks Search UI, navigate to System > Blobs.
- Click Add.
-
Select JDBC Driver.
The “New ‘JDBC Driver’ Upload” panel appears.
-
Click Choose File and select the .jar file from your file system.

-
Click Upload.
The new driver’s blob manifest appears.
How to install a JDBC driver using the API
-
Upload the JAR file to Lucidworks Search’s blob store using the
/blobs/{id}endpoint. Specify an arbitrary blob ID, and aresourceTypevalue ofplugin:connector, as in this example:Success response:Lucidworks Search automatically publishes the event to the cluster, and the listeners perform the driver installation process on each node. -
To verify the uploaded driver, run:
Where the
BLOB_IDis the name specified during upload, such as “mydriver” above. A success response looks like this:
Example
An example of a JDBC Index Stage setup Upload stage config via POST to Lucidworks Search REST API endpointapi/index-stages/instances
Replace
EXAMPLE_COMPANY with the name provided by your Lucidworks representative.