Overview
The JSON Connector provides functionality to retrieve data from JSON files or JSON APIs and register them in the Fess index.
This feature requires the fess-ds-json plugin.
Prerequisites
Plugin installation is required
Access to JSON files or APIs is required
Understanding of JSON structure is necessary
Plugin Installation
Method 1: Place JAR file directly
Method 2: Install from admin console
Open “System” -> “Plugins”
Upload the JAR file
Restart Fess
Configuration
Configure in the admin console under “Crawler” -> “Data Store” -> “Create New”.
Basic Settings
| Item | Example |
|---|---|
| Name | Products JSON |
| Handler Name | JsonDataStore |
| Enabled | On |
Parameter Configuration
Local file:
HTTP file:
REST API (with authentication):
Multiple files:
Parameter List
| Parameter | Required | Description |
|---|---|---|
files | Yes | JSON file path or API URL (multiple allowed: comma-separated) |
fileEncoding | No | Character encoding (default: UTF-8) |