# 接頭辞としての頭字語を使用した検索と検索におけるその他の矛盾

**URL:** https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881
**Category:** Feature
**Created:** [2022 年 8 月 11 日午後 3:17 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881 "2022-08-11T15:17:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)
#### Post date: [2022 年 8 月 11 日午後 3:17 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881/1 "2022-08-11T15:17:17Z")

</div>

言語コミュニティでは「品詞」と理解される3文字の検索語POSを入力すると、Discourseは3文字の接頭辞を取り、あらゆる種類の不適切なトピックを返します。ここでPOSを検索すると、post、posts、position、possibleなどの単語を含むトピックや返信が表示されます。BOXを検索するとboxesが含まれます。LLVMコミュニティでPUBLICATIONSを検索すると、publicという単語を含むC/C++ソースコードの例が多数表示されます。この接頭辞またはレンマレベルの検索は非常にイライラさせ、関連資料の発見を妨げます。

---

<div class="post-metadata">

### Author: ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)
#### Post date: [2022 年 8 月 13 日午後 4:34 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881/2 "2022-08-13T16:34:03Z")

</div>

もしこれが機能であるなら、そのカテゴリへの移動が示唆するように、それは悪いものであり、役に立たなくなる/

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2022 年 8 月 14 日午前 9:03 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881/3 "2022-08-14T09:03:44Z")

</div>

#Contribute > Feature が適合しないのはなぜですか？

カテゴリの説明を参照してください。

> **[Feature](https://meta.discourse.org/c/contribute/feature/2)**
>
> Discussion about existing Discourse features, how they can be improved or enhanced, and how proposed new features could work.

これは既存の機能だけでなく、改善点についても扱っています。

---

<div class="post-metadata">

### Author: ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)
#### Post date: [2022 年 8 月 14 日午前 10:49 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881/4 "2022-08-14T10:49:42Z")

</div>

そうかもしれません。しかし、数十年にわたってテキスト検索システムに携わってきた者として、この「機能」はバグと見なされるべきです。現状では、検索機能はごく簡単な検索以外では実質的に役に立ちません。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2022 年 8 月 14 日午前 11:28 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881/5 "2022-08-14T11:28:42Z")

</div>

`" pos "`を検索することで、すべての投稿と位置の結果を削除できます。  
[https://meta.discourse.org/search?q=%22%20pos%20%22](https://meta.discourse.org/search?q=%22%20pos%20%22)

---

<div class="post-metadata">

### Author: ![glimfeather](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/glimfeather/32/257582_2.png) [@glimfeather](https://meta.discourse.org/u/glimfeather)
#### Post date: [2022 年 8 月 14 日午後 2:18 UTC](https://meta.discourse.org/t/search-using-an-acronym-as-a-prefix-and-other-inconsistencies-in-searches/235881/6 "2022-08-14T14:18:01Z")

</div>

わかりました、機能は動作しますが、なぜユーザーが利用できる機能ではないのですか？少なくとも「高度な」検索ページでは、ユーザーがステミングを有効または無効にできるようにするべきです。ステミングしないことをデフォルトにする方が、ユーザーが難解な構文を覚える必要がなくなり、混乱が少なくなるでしょう。また、「publication」と「publications」では結果が異なり、後者には「publications」が含まれますが、おそらくステミングによって「public」にならないことに満足すべきなのでしょう。
