26.02 Fulltexttsearch not working

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 26.02
Operating system and version: Debian 11
Apache or nginx version _: Apache/2.4.56
PHP version : 8.2.7
Elasticsearch: 7.17.10
The issue you are facing:

Hello I have the following problem:

I am using Nextcloud with Elasticsearch to enable full text search.
When updating Nextcloud to version 26.02, I had to remove a plugin for the search because it was no longer compatible.

Since then, the search no longer works.

At the moment, the following plugins/Apps are installed:
Full text search
Full text search - Elasticsearch Platform
Full text search - Files
Full text search - Files - Tesseract OCR

The following command appears with everything OK:
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:test

When I try to search via OCC with
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:search testuser "searchquery"
only “search” is output

If I directly query elasticsearch via CURL I get results where the owner is also filled in:

curl  http://10.xx.xx.xx:9200/my_index/_search?pretty=true -H 'Content-Type: application/json' -d '{
      "query": {
        "query_string": {"query": "teststring"}
     }
  }'

There is nothing in the nextcloudlog about the search queries.
Does anyone have an idea why I don’t get any results in the Nextcloud?

Many thanks and best regards

Claudio