You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
6
+
7
+
## Local Setup Steps
8
+
9
+
1. Open a command-line interface (CLI), such as:
10
+
- **Windows:** Command Prompt (`cmd`), PowerShell, or Windows Terminal.
11
+
- **Linux/macOS:** Terminal.
12
+
2. Navigate to your local Nextcloud repository (where a docker-compose.yml file is present):
13
+
```sh
14
+
cd {route to your local NC repo}
15
+
```
16
+
3. Start the necessary Docker containers:
17
+
```sh
18
+
docker-compose up nextcloud proxy elasticsearch
19
+
```
20
+
4. In the Nextcloud front-end, go to **NC Apps > Search** and install the following three apps:
21
+
- **Full text search Files**
22
+
- **Full text search Elastic**
23
+
- **Full text search**
24
+
5. Under **Administrator settings**, go to **Full text search** in the sidebar.
25
+
6. Under **General**, configure the following:
26
+
- **Search Platform:** Set to **"Elasticsearch"**.
27
+
- **Navigation Icon:** Check this option.
28
+
7. Under **Elastic Search**, set the following:
29
+
- **Address of the Servlet:**
30
+
```
31
+
http://elastic:elastic@elasticsearch:9200
32
+
```
33
+
- **Index:**
34
+
```
35
+
my_index
36
+
```
37
+
- **[Advanced] Analyzer tokenizer:**
38
+
```
39
+
standard
40
+
```
41
+
8. Under **Files**, configure the following
42
+
- **Check all checkboxes:**
43
+
- Local Files
44
+
- Group Folders
45
+
- Extract PDF
46
+
- Extract Office & Open Files
47
+
- **Maximum file size:** Set your prefered maximum file size (at least **64** is recommended).
48
+
9. Add some files to Nextcloud in the Files tab of NextCloud.
49
+
10. Run the indexing command in the `master-nextcloud-1` container in Docker Desktop:
50
+
```sh
51
+
sudo -u www-data php ./occ fulltextsearch:index
52
+
```
53
+
11. Open the **search app** and search for files based on the text inside them.
54
+
55
+
## More Information
56
+
57
+
If you need more details or troubleshooting help, you can refer to the following resources:
58
+
59
+
- [Nextcloud Full Text Search Wiki - Basic Installation](https://github.com/nextcloud/fulltextsearch/wiki/Basic-Installation)
60
+
- [Nextcloud Docker Development - Full Text Search](https://juliusknorr.github.io/nextcloud-docker-dev/services/more/#fulltextsearch)
61
+
- [YouTube Guide on Full Text Search for Nextcloud](https://www.youtube.com/watch?v=yPZkrzgue5c)
62
+
63
+
These resources provide in-depth explanations, configurations, and troubleshooting tips.
0 commit comments