root@NextCloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ fulltextsearch:test'
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini.
.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. fail
Error detected, unlocking process ok
In Connection.php line 675:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/my_index] contains unrecognized
parameter: [include_type_name]"}],"type":"illegal_argument_exception","reason":"request [/my_index] contains un
recognized parameter: [include_type_name]"},"status":400}
fulltextsearch:test [--output [OUTPUT]] [-j|--json] [-d|--platform_delay PLATFORM_DELAY]
fulltextsearch:check output:
root@NextCloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ fulltextsearch:check'
The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php
Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini.
Full text search 24.0.0
- Search Platform:
Elasticsearch 24.0.0 (Selected)
{
"elastic_host": [
"http://192.168.204.66:9200"
],
"elastic_index": "my_index",
"fields_limit": "10000",
"es_ver_below66": "0",
"analyzer_tokenizer": "ik_max_word"
}
- Content Providers:
Files 24.0.0
{
"files_local": "1",
"files_external": "0",
"files_group_folders": "1",
"files_encrypted": "0",
"files_federated": "0",
"files_size": "20",
"files_pdf": "1",
"files_office": "1",
"files_image": "0",
"files_audio": "0"
}
root@NextCloud:~ # root@NextCloud:~ # su -m www -c 'php /usr/local/www/nextcloud/occ fulltextsearch:check'
"files_local": "1",
"files_external": "0",
"files_group_folders": "1",
"files_encrypted": "0",
"files_federated": "0",
"files_size": "20",
"files_pdf": "1",
"files_office": "1",
"files_image": "0",
"files_audio": "0"
}
I'm having the same issue.
Seems ElasticSearch >=8 is not supported yet. See #178 and #179
As version ES7 is reaching EOL soon I guess I'll wait until this is resolved.
when i start test,it has this error:
how to continue?
fulltextsearch:check fulltextsearch:test:
fulltextsearch:check output:
http://192.168.204.66:9200 output: