Overview
DataConfig API is an API for managing Fess data store configurations. You can configure crawl settings for data sources such as databases, CSV, and JSON.
Base URL
Endpoint List
| Method | Path | Description |
|---|---|---|
| GET/PUT | /settings | List data store configurations |
| GET | /setting/{id} | Get data store configuration |
| POST | /setting | Create data store configuration |
| PUT | /setting | Update data store configuration |
| DELETE | /setting/{id} | Delete data store configuration |
List Data Store Configurations
Request
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
size | Integer | No | Number of items per page (default: 20) |
page | Integer | No | Page number (starts from 0) |
Response
Get Data Store Configuration
Request
Response
Create Data Store Configuration
Request
Request Body
Field Description
| Field | Required | Description |
|---|---|---|
name | Yes | Configuration name |
handlerName | Yes | Data store handler name |
handlerParameter | No | Handler parameters (connection information, etc.) |
handlerScript | Yes | Data transformation script |
boost | No | Search result boost value (default: 1.0) |
available | No | Enable/disable (default: true) |
sortOrder | No | Display order |
permissions | No | Access permission roles |
virtualHosts | No | Virtual hosts |
labelTypeIds | No | Label type IDs |
Response
Update Data Store Configuration
Request
Request Body
Response
Delete Data Store Configuration
Request
Response
Handler Types
| Handler Name | Description |
|---|---|
DatabaseDataStore | Connect to databases via JDBC |
CsvDataStore | Read data from CSV files |
JsonDataStore | Read data from JSON files or JSON APIs |
Usage Examples
Database Crawl Configuration
Reference
Admin API Overview - Admin API Overview
WebConfig API - Web Crawl Configuration API
FileConfig API - File Crawl Configuration API
Data Store Crawling - Data Store Configuration Guide