Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rr10 opened this issue Aug 8, 2024 · 5 comments

Comments

@rr10
Copy link

rr10 commented Aug 8, 2024

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
Copy link

ferdiga commented Sep 10, 2024

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

  • analysis-icu
  • analysis-phonetic

@ProfZiebart
Copy link

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
Copy link

@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

@csolisr
Copy link

csolisr commented Jan 6, 2025

@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

Thanks for your effort! Could you kindly rebase it to the latest version so we can test it on our installation? Last version it's compatible with is currently version 29.

@arminfelder
Copy link

@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

Thanks for your effort! Could you kindly rebase it to the latest version so we can test it on our installation? Last version it's compatible with is currently version 29.

hmm have you tried https://github.com/fairkom/nextcloud_opensearch/releases/tag/30.0.0 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants