Elasticsearch indexing not working with Zincsearch #543
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#543
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am trying to get the Elastic search support working with Zincsearch (a mostly API compatible but fully FOSS alternative, see: https://github.com/zincsearch/zincsearch ).
So far everything looks good, but when I do the final step of the process:
mix pleroma.search import activities
I get the following error:
Which sadly doesn't help me at all in understanding better what the cause might be.
This might very well be a Zincsearch API issue, but without any idea what the cause might be I can't really open an issue upstream. Other Elasticsearch integrations like the one from Gitea seem to work fine with Zinc, so in general the API is pretty compatible.
Thanks for the help.
Edit: I am running Akkoma in a Docker container.
for the record, this should not have been an issue, support for "zincsearch" has never been mentioned
if you are doing things outside the bounds of supported functionality, you will be largely on your own when it comes to debugging, no more in-depth support will be forthcoming
that said, to quote the documentation
you almost certainly have not started the elasticsearch OTP application, which is set to automatically start if the search module is correctly set
I understand that Zincsearch isn't supported directly, but it seems to be a more general issue with the Elasticsearch support.
I did enable the Elasticsearch module as instructed in the documentation via admin-fe. However I am not using the OTP release, so I guess I am missing this Elastic search application and need to install it manually? This seems to be not mentioned in the documentation for non-OTP setups?
Thanks!
OTP refers to the system on which erlang and elixir run, not to the release
as stated in the documentation, admin-fe does not apply settings on boot but shortly after, please follow the instructions above
additionally I am assuming you are using the correct mix env setting
Yeah that seems to have solved it. Thanks.
I am still not quite getting it to work with Zinc, as it seems to work on building the index but times out at some point or so with no error, but that is more likely a Zinc specific issue.
Edit: couldn't get this to work in the end and went with Meilisearch which was easier to get working. I am actually not sure if the Elasticsearch backend works at all anymore ;)