Yes. The full-text search ran for weeks without any problems. Then at some point we had problems with our connected “archive”. The archive is on an externally connected NAS while the Nextcloud itself is on a full SSD storage.
The contents of the NAS were also fully indexed, which I think was a mistake due to the speed of the NAS.
I then tried everything:
Rebuilding the index via
./occ fulltextsearch:reset
./occ fulltextsearch:index
Then I completely removed elasticsearch and all plugins, reinstalled them and rebuilt the index.
Then I found the thread here, which unfortunately didn’t help me either.
Full text search 22.0.1
- Search Platform:
Elasticsearch 22.0.1 (Selected)
{
"elastic_host": [
"http://localhost:9200"
],
"elastic_index": "local_index",
"fields_limit": "10000",
"es_ver_below66": "0",
"analyzer_tokenizer": "standard"
}
- Content Providers:
Deck 1.5.5
[]
Files 22.0.1
{
"files_local": "1",
"files_external": "2",
"files_group_folders": "1",
"files_encrypted": "0",
"files_federated": "0",
"files_size": "25",
"files_pdf": "1",
"files_office": "1",
"files_image": "0",
"files_audio": "0",
"files_fulltextsearch_tesseract": {
"version": "22.0.0",
"enabled": "1",
"psm": "4",
"lang": "eng,deu",
"pdf": "1",
"pdf_limit": "0"
}
}
.Testing your current setup:
Creating mocked content provider. ok
Testing mocked provider: get indexable documents. (2 items) ok
Loading search platform. (Elasticsearch) ok
Testing search platform. ok
Locking process ok
Removing test. ok
Pausing 3 seconds 1 2 3 ok
Initializing index mapping. ok
Indexing generated documents. ok
Pausing 3 seconds 1 2 3 ok
Retreiving content from a big index (license). (size: 32386) ok
Comparing document with source. ok
Searching basic keywords:
- 'test' (result: 1, expected: ["simple"]) ok
- 'document is a simple test' (result: 2, expected: ["simple","license"]) ok
- '"document is a test"' (result: 0, expected: []) ok
- '"document is a simple test"' (result: 1, expected: ["simple"]) ok
- 'document is a simple -test' (result: 1, expected: ["license"]) ok
- 'document is a simple +test' (result: 1, expected: ["simple"]) ok
- '-document is a simple test' (result: 0, expected: []) ok
- 'document is a simple +test +testing' (result: 1, expected: ["simple"]) ok
- 'document is a simple +test -testing' (result: 0, expected: []) ok
- 'document is a +simple -test -testing' (result: 0, expected: []) ok
- '+document is a simple -test -testing' (result: 1, expected: ["license"]) ok
- 'document is a +simple -license +testing' (result: 1, expected: ["simple"]) ok
Updating documents access. ok
Pausing 3 seconds 1 2 3 ok
Searching with group access rights:
- 'license' - [] - (result: 0, expected: []) ok
- 'license' - ["group_1"] - (result: 1, expected: ["license"]) ok
- 'license' - ["group_1","group_2"] - (result: 1, expected: ["license"]) ok
- 'license' - ["group_3","group_2"] - (result: 1, expected: ["license"]) ok
- 'license' - ["group_3"] - (result: 0, expected: []) ok
Searching with share rights:
- 'license' - notuser - (result: 0, expected: []) ok
- 'license' - user2 - (result: 1, expected: ["license"]) ok
- 'license' - user3 - (result: 1, expected: ["license"]) ok
Removing test. ok
Unlocking process ok
The search results still remain empty