-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from ConductionNL/development
Development to main
- Loading branch information
Showing
6 changed files
with
395 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Full Text Search NextCloud App(s) | ||
|
||
## Overview | ||
|
||
This document provides some information about the NextCloud Full Text Search App(s) and a step-by-step plan how to set this up on your local machine with the use of ElasticSearch as search platform. | ||
|
||
## Local Setup Steps | ||
|
||
1. Open a command-line interface (CLI), such as: | ||
- **Windows:** Command Prompt (`cmd`), PowerShell, or Windows Terminal. | ||
- **Linux/macOS:** Terminal. | ||
2. Navigate to your local Nextcloud repository (where a docker-compose.yml file is present): | ||
```sh | ||
cd {route to your local NC repo} | ||
``` | ||
3. Start the necessary Docker containers: | ||
```sh | ||
docker-compose up nextcloud proxy elasticsearch | ||
``` | ||
4. In the Nextcloud front-end, go to **NC Apps > Search** and install the following three apps: | ||
- **Full text search Files** | ||
- **Full text search Elastic** | ||
- **Full text search** | ||
5. Under **Administrator settings**, go to **Full text search** in the sidebar. | ||
6. Under **General**, configure the following: | ||
- **Search Platform:** Set to **"Elasticsearch"**. | ||
- **Navigation Icon:** Check this option. | ||
7. Under **Elastic Search**, set the following: | ||
- **Address of the Servlet:** | ||
``` | ||
http://elastic:elastic@elasticsearch:9200 | ||
``` | ||
- **Index:** | ||
``` | ||
my_index | ||
``` | ||
- **[Advanced] Analyzer tokenizer:** | ||
``` | ||
standard | ||
``` | ||
8. Under **Files**, configure the following | ||
- **Check all checkboxes:** | ||
- Local Files | ||
- Group Folders | ||
- Extract PDF | ||
- Extract Office & Open Files | ||
- **Maximum file size:** Set your prefered maximum file size (at least **64** is recommended). | ||
9. Add some files to Nextcloud in the Files tab of NextCloud. | ||
10. Run the indexing command in the `master-nextcloud-1` container in Docker Desktop: | ||
```sh | ||
sudo -u www-data php ./occ fulltextsearch:index | ||
``` | ||
11. Open the **search app** and search for files based on the text inside them. | ||
|
||
## More Information | ||
|
||
If you need more details or troubleshooting help, you can refer to the following resources: | ||
|
||
- [Nextcloud Full Text Search Wiki - Basic Installation](https://github.com/nextcloud/fulltextsearch/wiki/Basic-Installation) | ||
- [Nextcloud Docker Development - Full Text Search](https://juliusknorr.github.io/nextcloud-docker-dev/services/more/#fulltextsearch) | ||
- [YouTube Guide on Full Text Search for Nextcloud](https://www.youtube.com/watch?v=yPZkrzgue5c) | ||
|
||
These resources provide in-depth explanations, configurations, and troubleshooting tips. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.