Skip to content

PGroonga 検索利用時、リモート検索できない #17325

@cqjjjzr

Description

@cqjjjzr

💡 Summary

fulltextSearch:
  provider: sqlPgroonga

上記の設定にすると、検索画面にローカルとユーザー指定しか表示されず、「全体」のオプションが出ません。

Image

この辺のコードが多分原因と思っております:

noteSearchableScope: (this.config.meilisearch == null || this.config.meilisearch.scope !== 'local') ? 'global' : 'local',

🥰 Expected Behavior

「全体」「ローカル」「ユーザー指定」が全部表示されます。

🤬 Actual Behavior

「ローカル」「ユーザー指定」しか表示されないです。

📝 Steps to Reproduce

  1. サーバー設定 YAML の FTS 設定を sqlPgroonga に設定する;
  2. PGronnga を PostgreSQL 有効化にし、index を作成する;
  3. サーバーを再起動し、検索ページを開く;

💻 Frontend Environment

N/A

🛰 Backend Environment (for server admin)

* Misskey: 2026.3.2
* PostgreSQL: `groonga/pgroonga:4.0.6-debian-18`
* Redis: 18

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions