Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Opensearch Views

1 sites No security coverage
View on drupal.org

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

Activity

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

Releases

Version Type Release date
1.0.x-dev Dev Mar 31, 2025
1.0.0 Stable Mar 31, 2025