ownCloud Administrators Manual

    • Overview
    • Introduction
    • What’s New for Admins in ownCloud 7
    • Installation
    • Configuration
      • Configuring the ClamAV Antivirus Scanner
      • Automatic Configuration Setup
      • Defining Background Jobs
      • Uploading big files > 512MB (as set by default)
      • Configuring the Collaborative Documents App
      • Enabling the Documents App
      • Config.php Parameters
      • Custom Client Configuration
      • Database Configuration
      • Email Configuration
      • Encryption Configuration
      • Configuring External Storage (GUI)
      • Configuring External Storage (Configuration File)
      • File Sharing
      • Files Locking App Configuration
      • JavaScript and CSS Asset Management
      • Knowledge Base Configuration
      • Language Configuration
      • Logging Configuration
      • Previews Configuration
      • Reverse Proxy Configuration
      • Enabling Full-Text Search
      • Configuring Server-to-Server Sharing
      • Serving Static Files for Better Performance
      • Using Third Party PHP Components
      • User Authentication with IMAP, SMB, and FTP
      • User Authentication with LDAP
      • User Management
    • Maintenance
    • Issues

Enabling Full-Text SearchΒΆ

The Full-Text Search app indexes plain text, .docx, .xlsx, .pptx, .odt, .ods and .pdf files stored in ownCloud. It is based on Zend Search Lucene, which is a good general purpose text search engine written in PHP 5. The Zend Lucene index is stored on the filesystem (in owncloud/data/$user/lucene_index) and does not require a database server.

Using the Full-Text Search app is literally set-it-and-forget-it: all you do is enable it on your Apps page, and then it automatically indexes all documents on your ownCloud server. It does not index files on remote storage services or devices.

../_images/lucene-search-enable.png

When you want to find a document, enter your search term in the search field at the upper right of your ownCloud Web interface. You can run a search from any ownCloud page. Hover your cursor over any of your search results to see what folder it is in, or click on the filename and it takes you to the folder.

../_images/lucene-search-user.png

Known limitations

It does not work with the Encryption app, because the background indexing process does not have access to the key needed to decrypt files when the user is not logged in.

Not all PDF versions can be indexed because its text extraction may be incompatible with newer PDF versions.