Skip to content

feat(db): キャッシュ横断検索に投稿者と添付の絞り込みを足す (notedeck#945) - #63

Merged
hitalin merged 2 commits into
developfrom
feat/cached-search-filter
Sep 12, 2026
Merged

feat(db): キャッシュ横断検索に投稿者と添付の絞り込みを足す (notedeck#945)#63
hitalin merged 2 commits into
developfrom
feat/cached-search-filter

Conversation

@hitalin

@hitalin hitalin commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

notedeck#945 (クライアント検索) の段階 1: 横断検索経路に絞り込みを足す。

  • search_cached_notes_across の引数を CachedSearchOptions にまとめる (query / limit / since / until / ascending / author / has_files)
  • author: name または name@host。大文字小文字を区別せず、ローカルユーザー (user.host が null) は取得元サーバーで補う
  • has_files: json_array_length(note_json, '$.files') で添付の有無
  • 単一アカウント版 search_cached_notes_advanced は薄いラッパのまま

🤖 Generated with Claude Code

https://claude.ai/code/session_0129MFAxbj2vmL1Gu8FsgHLk

search_cached_notes_across の引数を CachedSearchOptions にまとめ、
author (name / name@host、大文字小文字を区別しない。ローカルユーザーの host は
取得元サーバーで補う) と has_files (json_array_length) を追加する。

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0129MFAxbj2vmL1Gu8FsgHLk
@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 288ed556-75b8-4047-afa6-0e737f03c4ab

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

AI など第三者に見せる面で、フォロワー限定 / ダイレクトを索引から除くための
条件。visibility = 'public' だけを返す。

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0129MFAxbj2vmL1Gu8FsgHLk
@hitalin
hitalin merged commit 55c5d2f into develop Sep 12, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant