Full Text Search

The Full Text Search app integrates full text search into ownCloud, powered by Elasticsearch. This allows users to search not only for file names but also within files stored in ownCloud.


A fully functioning Elasticsearch server with the ingest-attachment processor must be present.

Version 1.0.0 of the Full Text Search app only works with Elasticsearch version 5.6. With version 2.0.0 of the app, Elasticsearch version 7 is supported and required.

The ingest-attachment processor lets Elasticsearch extract file attachments in common formats. To install the processor, run the following command from your Elasticsearch installation directory:

bin/elasticsearch-plugin install ingest-attachment
service elasticsearch restart

Install and Configure the Full Text Search App

To install the app, use the Marketplace app on your ownCloud server or proceed manually:

  1. Download and extract the tarball of the Full Text Search app to the apps directory (or custom apps directory) of your ownCloud instance.

  2. Use the occ app:enable to enable the search_elastic application.

To configure the Full Text Search, go to admin  Settings  Search and set the hostname (or IP address) and port of the Elasticsearch server and click "Setup index".

Configuring Elasticsearch in ownCloud

Configuring Elasticsearch in ownCloud

The index can also be managed from the command line, via the occ search:index commands. These commands let administrators create, rebuild, reset, and update the search index.

To find out more about usage, check out the section in the User Manual: Search & Full Text Search.

Known Limitations

Currently, the app has the following known limitations:

  • If a shared file is renamed by the sharee (share receiver), the sharee cannot find the file using the new filename.

  • Search results are not updated when a text file is rolled back to an earlier version.

  • The app does not return results for federated share files.

  • The app only works with the default encryption module "Master Key".