lucidworks / drupal-connector-module

Drupal module for Fusion 8+ connector
MIT License
1 stars 1 forks source link

INTRODUCTION

The fusion_connector module, together with the Fusion 5 Drupal 8 Datasource Connector, allows you to index the content from a Drupal 8/9 website into Lucidworks Fusion.

It is built on top of the JSON:API core module and it provides the ability to filter the exposed data by JSON:API core module.

The module will expose a new route, /fusion which will display the filtered data in JSON:API format, while the default /jsonapi route will work as expected, without being affected by the new module.

The current features of the Fusion Connector module:

REQUIREMENTS

The module will install the JSON:API 2.x Drupal core module. Visit /admin/config/services/fusion_connector to overwrite and configure your API.

INSTALLATION

Install fusion_connector using a standard method for installing a contributed Drupal module.

INTEGRATION

In Lucidworks Fusion 5, when adding a new datasource, use the Drupal 8 connector. When configuring the connector, you will have to fill in the following parameters:

Since you can configure the module to expose different resources per user, you can create multiple datasources with different usernames. This allows you to create multiple queries with separate access to resources.

CONFIGURATION

Fusion_connector provides a configuration page where users with the "administer site configuration" permission can filter the exposed data. User permissions on the exposed resources can be managed in the Permissions page.

SUPPORT

This is a community supported module. To open issues, please go to https://www.drupal.org/project/lucidworksfusion.

URL Structure

A fusion_connector URL looks like this:

GET     /en/fusion/node/article

If you have enabled more languages, the fusion_connector route will be prefixed with the language code: e.g. for Spanish, we'll have:

GET     /es/fusion/node/article

All the filtering, sorting and pagination parameters the JSON:API module provides are available. More details are available on the JSON:API documentation.

DRUPAL 9

This module is compatible with Drupal 9.