.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
[root@kdc nextcloud]#
page search nextcloud.log
{"reqId":"X7dyxkCxILM4yVM1RYGliQAAAAA","level":2,"time":"2020-11-20T07:41:58+00:00","remoteAddr":"10.171.20.56","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/fulltextsearch/v1/search?request=%7B%22providers%22%3A%22files%22%2C%22search%22%3A%22Java1%22%2C%22page%22%3A1%2C%22options%22%3A%7B%22files_within_dir%22%3A%22%22%2C%22files_local%22%3A%22%22%2C%22files_extension%22%3A%22%22%7D%2C%22size%22%3A20%7D","message":"500 - {\"request\":{\"providers\":[\"files\"],\"author\":\"admin\",\"search\":\"Java1\",\"empty_search\":false,\"page\":1,\"size\":20,\"parts\":[\"comments\"],\"queries\":[],\"options\":{\"files_within_dir\":\"\",\"files_local\":\"\",\"files_extension\":\"\"},\"metatags\":[],\"subtags\":[],\"tags\":[]},\"version\":\"1.4.2\",\"status\":-1,\"exception\":\"Elasticsearch\\Common\\Exceptions\\NoNodesAvailableException\",\"message\":\"No alive nodes found in your cluster\"}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36","version":"19.0.1.1"}
nextcloud19.0.1 es7.8.1
[root@kdc nextcloud]# sudo -u daemon php ./occ fulltextsearch:test
.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:
Updating documents access. ok
Pausing 3 seconds 1 2 3 ok
Searching with group access rights:
Searching with share rights:
Removing test. ok
Unlocking process ok
[root@kdc nextcloud]#
page search nextcloud.log
{"reqId":"X7dyxkCxILM4yVM1RYGliQAAAAA","level":2,"time":"2020-11-20T07:41:58+00:00","remoteAddr":"10.171.20.56","user":"admin","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/fulltextsearch/v1/search?request=%7B%22providers%22%3A%22files%22%2C%22search%22%3A%22Java1%22%2C%22page%22%3A1%2C%22options%22%3A%7B%22files_within_dir%22%3A%22%22%2C%22files_local%22%3A%22%22%2C%22files_extension%22%3A%22%22%7D%2C%22size%22%3A20%7D","message":"500 - {\"request\":{\"providers\":[\"files\"],\"author\":\"admin\",\"search\":\"Java1\",\"empty_search\":false,\"page\":1,\"size\":20,\"parts\":[\"comments\"],\"queries\":[],\"options\":{\"files_within_dir\":\"\",\"files_local\":\"\",\"files_extension\":\"\"},\"metatags\":[],\"subtags\":[],\"tags\":[]},\"version\":\"1.4.2\",\"status\":-1,\"exception\":\"Elasticsearch\\Common\\Exceptions\\NoNodesAvailableException\",\"message\":\"No alive nodes found in your cluster\"}","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36","version":"19.0.1.1"}