# 既知のトピックタイトルを検索する際のバグ

**URL:** <https://meta.discourse.org/t/bug-when-searching-for-known-topic-titles/292838>\
**Category:** Bug\
**Tags:** search\
**Created:** [2024 年 1 月 24 日午後 9:30 UTC](https://meta.discourse.org/t/bug-when-searching-for-known-topic-titles/292838 "2024-01-24T21:30:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2024 年 1 月 29 日午前 5:21 UTC](https://meta.discourse.org/t/bug-when-searching-for-known-topic-titles/292838/2 "2024-01-29T05:21:21Z")

</div>

これは難しい問題です。PGが文字列を解析する方法に関係しており、タイトル固有ではありません。

文字列を認識し、URLパスとして扱います。そのため、検索結果には`/example/1235`のみが表示されます。

考えられる唯一の簡単な回避策は、投稿の本文に検索用の単語をいくつか追加することです。

すべてを手動で分割するように変更すると、他の欠点もあります。

たとえば、投稿本文に`example/1235`を追加すると、検索で見つけられるようになります。

---

_[View the full topic](https://meta.discourse.org/t/bug-when-searching-for-known-topic-titles/292838)._
