Drupal is a registered trademark of Dries Buytaert

**OpenSearch NLP** extends Drupal’s Search API by adding **Natural Language Processing (NLP)** and **semantic search** capabilities through OpenSearch.

This module integrates with `search_api` and `search_api_opensearch` to bring **AI-powered** search experiences — including **semantic**, **hybrid**, and **vector-based** retrieval — directly into your Drupal site. It leverages OpenSearch ML Commons for model management and supports both local and external ML models (such as OpenAI embeddings).

### Key Features

* 🔍 **Semantic Search** – Search by meaning, not just keywords
* ⚙️ **Hybrid Search** – Combine keyword and semantic scoring
* 🧠 **ML Model Management** – Manage and deploy models in OpenSearch
* 💾 **Semantic Caching** – Cache queries based on similarity
* 🌐 **External Model Integration** – Use OpenAI or other embedding providers

### Requirements

* Drupal 10 or 11
* `search_api` and `search_api_opensearch` modules
* OpenSearch 2.19 with ML Commons plugin
* PHP 8.1+

### Setup & Documentation

Full setup and configuration instructions are available in the module’s **[README.md](./README.md)** file.
Please refer to it for installation, patch application, and NLP pipeline configuration steps.

---

Enhance your Drupal search experience with **OpenSearch NLP** — bringing semantic understanding, intelligent ranking, and ML-based relevance to your content search.

Activity

Total releases
1
First release
Oct 2025
Latest release
4 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Oct 26, 2025