db.use_column_labels

Background

This parameter controls whether column labels are used in the JDBC calls made by the database gatherer when generating column names. These column names are then used as element names in the XML indexed by the indexer.

Whether you want to enable this or not will depend on what type of database and JDBC driver you are using.

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the db.use_column_labels key, and set the value. This can be set to any valid Boolean value.

Default value

db.use_column_labels=false

Examples

Enable the use of column labels:

db.use_column_labels=true