PHPackages                             manta\_ray\_media/search\_api\_elasticsearch\_attachments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. manta\_ray\_media/search\_api\_elasticsearch\_attachments

ActiveDrupal-module[Search &amp; Filtering](/categories/search)

manta\_ray\_media/search\_api\_elasticsearch\_attachments
=========================================================

Search API Elasticsearch Attachments

1.0.0(5y ago)015PHP

Since Aug 24Pushed 5y ago2 watchersCompare

[ Source](https://github.com/MantaRayMedia/search_api_elasticsearch_attachments)[ Packagist](https://packagist.org/packages/manta_ray_media/search_api_elasticsearch_attachments)[ RSS](/packages/manta-ray-media-search-api-elasticsearch-attachments/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Search API Elasticsearch Attachments
====================================

[](#search-api-elasticsearch-attachments)

*forked from: [https://git.drupalcode.org/project/search\_api\_elasticsearch\_attachments](https://git.drupalcode.org/project/search_api_elasticsearch_attachments)*

Elasticsearch is generally used to index data of types like string, number, date, etc.

However, what if you wanted to index a file like a .pdf or a .doc directly and make it searchable?

This module allows Drupal to index files (attachments) to Elasticsearch by making use of Elasticsearch data type "attachment".

[![Search_API_Elasticsearch_Attachments](https://camo.githubusercontent.com/d0c4e4efc99d6d1abec665c70f5d3a3df602596cfe5c8de8955a6a939d7e37d4/68747470733a2f2f7777772e64727570616c2e6f72672f66696c65732f7365617263685f6170695f656c61737469637365617263685f6174746163686d656e74732e6a7067)](https://camo.githubusercontent.com/d0c4e4efc99d6d1abec665c70f5d3a3df602596cfe5c8de8955a6a939d7e37d4/68747470733a2f2f7777772e64727570616c2e6f72672f66696c65732f7365617263685f6170695f656c61737469637365617263685f6174746163686d656e74732e6a7067)

Requirements
------------

[](#requirements)

This module requires:

- Drupal 8
- Search API Module
- Elasticsearch Connector module (8.x-6.0-alpha1 or higher)
- Elasticsearch Version 6.2
- Elasticsearch `ingest-attachment` plugin

Elasticsearch Plugin Installation
---------------------------------

[](#elasticsearch-plugin-installation)

The first step is to install the Elasticsearch plugin: `ingest-attachment`, which enables ES to recognise the "attachment" data type. In turn, it uses Apache Tika for content extraction and supports several file types such as .pdf, .doc, .xls, .rtf, .html, .odt, etc.

```
$ES_HOME> bin/elasticsearch-plugin install ingest-attachment

```

Thats the hard work done.

Install this module with composer
---------------------------------

[](#install-this-module-with-composer)

```
composer require 'drupal/search_api_elasticsearch_attachments:6.x-dev'

```

Version Information (Important)
-------------------------------

[](#version-information-important)

You have to choose the correct versions of the module depending on your Elastic Search Server setup. Please see the table below for compatibility.

If you are using Elasticsearch Connector 8.x-6.0-alpha1 or higher, please use 8.x-6.x-dev of *search\_api\_elasticsearch\_attachments* module.

  Search API Elasticsearch Attachments Elasticsearch Connector Elasticsearch Version Attachment Plugin Support   8.x-1.x 8.x-5.x 5x Mapper Attachments Plugin   8.x-5.x 8.x-5.x 5x Ingest Attachment Processor Plugin   8.x-6.x 8.x-6.x 6x Ingest Attachment Processor Plugin Elasticsearch Connector module (8.x-6.0-alpha1) compatibility.
--------------------------------------------------------------

[](#elasticsearch-connector-module-8x-60-alpha1-compatibility)

8.x-6.0-alpha1 version of Elasticsearch Connector module requires a patch. These are applied automatically by composer.

Sit back and let composer do the hard work for you. Following Patches that will get auto applied by composer:

- Issue #2918138: Support for alterParams()

Elasticsearch Attachments Configuration
---------------------------------------

[](#elasticsearch-attachments-configuration)

### Enable and Configure the Elasticsearch Attachments Processor

[](#enable-and-configure-the-elasticsearch-attachments-processor)

[![Enable_the_Processor](https://camo.githubusercontent.com/1810d7127356eef03411dce1881a359f31056bcd242812ecdf721160e1997eee/68747470733a2f2f7777772e64727570616c2e6f72672f66696c65732f53637265656e5f53686f745f323031372d31322d31395f61745f31315f33395f30365f706d2e6a7067)](https://camo.githubusercontent.com/1810d7127356eef03411dce1881a359f31056bcd242812ecdf721160e1997eee/68747470733a2f2f7777772e64727570616c2e6f72672f66696c65732f53637265656e5f53686f745f323031372d31322d31395f61745f31315f33395f30365f706d2e6a7067)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2140d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7508599?v=4)[Jernej Slejko](/maintainers/slejnej)[@slejnej](https://github.com/slejnej)

---

Top Contributors

[![slejnej](https://avatars.githubusercontent.com/u/7508599?v=4)](https://github.com/slejnej "slejnej (4 commits)")

### Embed Badge

![Health badge](/badges/manta-ray-media-search-api-elasticsearch-attachments/health.svg)

```
[![Health](https://phpackages.com/badges/manta-ray-media-search-api-elasticsearch-attachments/health.svg)](https://phpackages.com/packages/manta-ray-media-search-api-elasticsearch-attachments)
```

###  Alternatives

[awesome-nova/dependent-filter

Dependent filters for Laravel Nova

26193.1k](/packages/awesome-nova-dependent-filter)[algolia/php-dom-parser

A simple tool to turn DOM into Algolia search friendly record objects.

181.8k](/packages/algolia-php-dom-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
