Skip to content

Conversation

shota973
Copy link
Contributor

@shota973 shota973 commented Jun 27, 2025

elastic searchにogpContentのフィールドを追加してtitleとdescriptionを保存することで、検索時にogp=trueのクエリをつけてogp部分を含めたキーワード検索ができるようにしました

elastic searchのindexにogpContentのフィールドを持たない過去のメッセージはes_sync.gosync()で順次更新しています
:https://~~などの無効な形式のurlや、file送信やメッセージの引用に利用されるhttps://q.trap.jpのリンクの場合は""ogpContentフィールドに保存しています

フロントのUIからの検索は対応してません

@shota973 shota973 marked this pull request as ready for review August 13, 2025 15:32
@YuHima03 YuHima03 self-requested a review August 17, 2025 08:46
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