Skip to content

Instruction for ElasticSearch setup for Chinese support no longer current #1428

@mhkhung

Description

@mhkhung

Steps to reproduce the problem

Try to follow the setup here:
https://docs.joinmastodon.org/admin/elasticsearch/#search-optimization-for-other-languages

The current code does not match the diff.

Expected behaviour

Docs can be followed

Actual behaviour

Diff no longer valid

Detailed description

The diff is no longer current. It's unclear how this can be fixed and to fix existing indexes.
Also, code-level patch is very undesired for administrators - does the patch need to be there all the time or just when the index is created? I do not want to maintain a fork of the code with all the recent security issues - can't this be handled with code/config?

Mastodon instance

No response

Mastodon version

main-latest

Technical details

If this is happening on your own Mastodon server, please fill out those:

  • Ruby version: (from ruby --version, eg. v3.1.2)
  • Node.js version: (from node --version, eg. v18.16.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions