nextcloud / fulltextsearch_elasticsearch

🔍 Use Elasticsearch to index the content of your Nextcloud
https://apps.nextcloud.com/apps/fulltextsearch_elasticsearch
GNU Affero General Public License v3.0
81 stars 32 forks source link

Compatibility of fulltextsearch_elasticsearch module with Nextcloud 30 and versions of OpenSearch/Elasticsearch #381

Open rr10 opened 2 months ago

rr10 commented 2 months ago

Hi team,

I am trying to configure the fulltextsearch_elasticsearch module for Nextcloud version 30. However, I am having difficulty determining which versions of OpenSearch or Elasticsearch are compatible. The documentation only mentions Elasticsearch version 8.6.1.

Can you confirm if Elasticsearch version 8.6.1 is the only supported version? Are there other versions of Elasticsearch or OpenSearch that are compatible with Nextcloud 30? Could you provide a specific requirements page or an official reference for the compatibility of the fulltextsearch_elasticsearch module with Nextcloud 30? Proposal: It would be very helpful to add a section to the fulltextsearch_elasticsearch repository wiki that lists the compatibility of OpenSearch and Elasticsearch versions for each Nextcloud version. This would greatly help users to quickly and efficiently find the necessary information.

Is there documentation available for the following commands?

files_fulltextsearch:configure fulltextsearch:check fulltextsearch:collection:delete fulltextsearch:collection:init fulltextsearch:collection:list fulltextsearch:configure fulltextsearch:document:index fulltextsearch:document:platform fulltextsearch:document:provider fulltextsearch:document:status fulltextsearch:index fulltextsearch:live fulltextsearch:migration:24 fulltextsearch:reset fulltextsearch:search fulltextsearch:stop fulltextsearch:test fulltextsearch_elasticsearch:configure

Thank you for your help!

ferdiga commented 1 month ago

I got a Kibana/elasticsearch 8.15.1 running with NC 29.0.6 following https://community.hetzner.com/tutorials/deploy-elk-stack-with-docker and secured it with these changes. https://github.com/hetzneronline/community-content/pull/941/files

I installed the following plugins

ProfZiebart commented 3 weeks ago

I have an opensearch server running on a raspberry 5 and installed the fulltextsearch plugin. To answer your question partially: the shipped elasticsearch client refuses to work with opensearch at all. In ProductCheckTrait.php line 31 it throws an exception. I wonder what would happen if I commented that one out...

arminfelder commented 1 week ago

@rr10 I have the same issue, as I switched my infrastructure from Elastic to OpenSearch quite a while ago, so I checked out the code and switch it over to OpenSearch. You can find my working PoC here: https://github.com/arminfelder/fulltextsearch_elasticsearch/tree/opensearch-test-30