FullTextSearch 23 returns no results

So, I’ve been trying for days to get Full Text Search working on NC23. I’ve followed all the articles, forums, and GitHub pages and can’t seem to get NC to display results.

Ran my index by using:
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:index
And it completes.

Ran both the following and both work.
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:test
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:check

sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:check
Full text search 23.0.0

  • Search Platform:
    Elasticsearch 23.0.0 (Selected)
    {
    “elastic_host”: [
    http://localhost:9200
    ],
    “elastic_index”: “nc-index”,
    “fields_limit”: “10000”,
    “es_ver_below66”: “0”,
    “analyzer_tokenizer”: “standard”
    }

  • Content Providers:
    Files 23.0.0
    {
    “files_local”: “1”,
    “files_external”: “2”,
    “files_group_folders”: “0”,
    “files_encrypted”: “0”,
    “files_federated”: “0”,
    “files_size”: “25”,
    “files_pdf”: “1”,
    “files_office”: “1”,
    “files_image”: “0”,
    “files_audio”: “0”
    }

I can get results directly from ES by running:
curl -XGET ‘localhost:9200/nc-index/_search?q=Shoopowpow?pretty’

{
“took” : 81,
“timed_out” : false,
“_shards” : {
“total” : 2,
“successful” : 2,
“skipped” : 0,
“failed” : 0
},
“hits” : {
“total” : {
“value” : 1,
“relation” : “eq”
},
“max_score” : 14.981646,
“hits” : [
{
“_index” : “nc-index”,
“_id” : “files:3638488”,
“_score” : 14.981646,
“_ignored” : [
“content.keyword”
],
“_source” : {
“owner” : “D866FF9D-55CB-4533-AB7D-CBDCBB61F8F7”,
“groups” : ,
“circles” : ,
“metatags” : [
“files_local”
],
“source” : “files_local”,
“title” : “ES Test.docx”,
“users” : ,
“content” :
“tags” : ,
“attachment” : {
“content_type” : “application/vnd.openxmlformats-officedocument.wordprocessingml.document”,
“modifier” : “USER”,
“modified” : “2022-03-30T13:50:40Z”,
“language” : “lt”,
“content” : “Shoopowpow”,
“content_length” : 12
},
“provider” : “files”,
“subtags” : ,
“parts” : {
“comments” : “”
},
“links” : ,
“share_names” : {
“D866FF9D-55CB-4533-AB7D-CBDCBB61F8F7” : “ES Test.docx”
},
“hash” : “77729d6ff7239f721d873af6b57d66f6”
}
}
]
}
}

However, I don’t have any results when running:
sudo -u www-data php /var/www/nextcloud/occ fulltextsearch:search admin Showpowpow

Files

I’m completely and utterly stumped at this point.

Hi @jp57 ,
do you remember how you solved this issue? I am also stuck at this point.