Support for Elasticsearch 6 or Opensearch
Hello,
It seems search-index depends on Elasticsearch 8, which is not open source. I didn't manage to connect to Elasticsearch 6 or Opensearch. I tried to downgrade the @elasticsearch/elasticsearch
client version to 6 or 7, but then it fails with this error:
err: "TypeError: Cannot read properties of undefined (reading 'hosts')\n at /var/www/peertube-search-index/dist/server/lib/elastic-search/elastic-search-instances.js:55:106\n at Generator.next (<anonymous>)\n at fulfilled (/var/www/peertube-search-index/dist/server/lib/elastic-search/elastic-search-instances.js:5:58)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"
Are they plans to support an open source version or Elasticsearch like Opensearch or Elasticsearch 6?