When indexing files with the command: sudo -u www-data php occ fulltextsearch:index I get a lot of these errors:
Error: 13/13
Index: files:33226
Exception: Elasticsearch\Common\Exceptions\ServerErrorResponseException
Message: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: field [content] not present as part of path [attachment.content]
I have spot-checked some of the files using the command sudo -u www-data php occ fulltextsearch:document:platform files 818 and I will get results such as this:
When indexing files with the command:
sudo -u www-data php occ fulltextsearch:index
I get a lot of these errors:I have spot-checked some of the files using the command
sudo -u www-data php occ fulltextsearch:document:platform files 818
and I will get results such as this:They seem to be mostly PDFs. Some of them are under 1MB and only a page.
Running a test using
sudo -u www-data php occ fulltextsearch:test
comes back with no issues.Here is the curl result:
I'm running Nextcloud 17.0.2 with "Full text search", "Full text search - Elasticsearch Platform" and "Full text search - Files" apps