Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Opensearch Views

No security coverage Maintenance fixes only 1 sites

This module integrates Drupal Views with OpenSearch. It allows you to query and display data from OpenSearch indices, especially JSON data, using the familiar Views interface. You can select specific JSON fields from your OpenSearch documents to display in your Drupal site.

OpenSearch Views

INTRODUCTION

The OpenSearch Views module provides integration between Drupal Views and
OpenSearch, enabling you to query and display data from OpenSearch indices
through the familiar Drupal Views interface.

This module is particularly useful for displaying JSON data from OpenSearch,
allowing you to select specific JSON fields to display in your views.

REQUIREMENTS

* Drupal 9.x or 10.x
* Views module (included in Drupal core)
* OpenSearch PHP client library

INSTALLATION

1. Install the module using Composer:
```
composer require drupal/opensearch_views
```

2. Install the OpenSearch PHP client:
```
composer require opensearch-project/opensearch-php
```

3. Enable the module through the UI or use Drush:
```
drush en opensearch_views
```

CONFIGURATION

1. Navigate to Configuration > Search and metadata > OpenSearch Views
(/admin/config/search/opensearch_views)

2. Enter your OpenSearch connection details:
- Host
- Port
- Username (if applicable)
- Password (if applicable)
- SSL options

3. Test the connection to ensure your Drupal site can communicate with your
OpenSearch instance.

USAGE

1. Create a new View
- Select "OpenSearch" as the base table

2. In the View settings:
Add an "OpenSearch: JSON Field" filter
for the OpenSearch index to query

3. Add fields from your JSON documents:
- Add an "OpenSearch: JSON Field" field
- Select the JSON path to the data you want to display
- Configure the display format

TROUBLESHOOTING

If you experience issues:

1. Verify your OpenSearch connection settings
2. Check that your OpenSearch index contains the expected JSON data
3. Examine the Drupal logs for any errors
4. Ensure the OpenSearch PHP client library is properly installed

MAINTAINERS

Current maintainers:
* Adam Sanchez - https://www.drupal.org/u/asanchez75

This project has been sponsored by:
* https://landportal.org

Drupal 9–10 · not 11

Ask your assistant about Opensearch Views

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 9–10 Mar 31, 2025
1.0.0 Stable 9–10 Mar 31, 2025