Title: Cannot search string PAT
Last modified: March 14, 2023

---

# Cannot search string PAT

 *  [graebertjapan](https://wordpress.org/support/users/graebertjapan/)
 * (@graebertjapan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-search-string-pat/)
 * Hi,
 * First of all, thank you for your plugin, it is one of the best search plugins
   for WordPress by far, and recommended particularly for any website in Japanese.
 * We have a strange issue searching the string PAT. It does not show any results,
   although the string can be found here:
 * [https://graebert.jp/faq/?p=10332](https://graebert.jp/faq/?p=10332)
 * We tried different combinations, adding “” marks, also adding extra characters
   to see when it works, and worked when adding extra characters that are found 
   as part of the post body:
 * 「 .pat 」のファイル
 * There are no problems using any other 3-letter combinations (as far as we know),
   examples, DWG, DXF, SHX, but for some reason PAT on its own doesn’t bring any
   results. Any ideas?
 * Thanks for your help in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [ishitaka](https://wordpress.org/support/users/ishitaka/)
 * (@ishitaka)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-search-string-pat/#post-16556858)
 * Hi,
 * It seems that MySQL (ngram + ngram_token_size>=2) may not correctly search for
   strings with 3 or less alphabetic characters including certain strings (an, at,
   in, etc.).
 * [https://dev.mysql.com/doc/refman/5.7/en/fulltext-stopwords.html](https://dev.mysql.com/doc/refman/5.7/en/fulltext-stopwords.html)
 * I think you can work around this problem by setting ngram_token_size to 1 and
   rebuilding the index. Please try it.
 *  Thread Starter [graebertjapan](https://wordpress.org/support/users/graebertjapan/)
 * (@graebertjapan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-search-string-pat/#post-16556865)
 * Ishitakaさん,
 * Thanks for your prompt response, we will give your suggestion a try and report
   back; but most likely you just ‘hit the nail’.
 * どうもありがとうございました！
    -  This reply was modified 3 years, 2 months ago by [graebertjapan](https://wordpress.org/support/users/graebertjapan/).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot search string PAT’ is closed to new replies.

 * ![](https://ps.w.org/full-text-search/assets/icon-256x256.png?rev=2776242)
 * [Full-Text Search](https://wordpress.org/plugins/full-text-search/)
 * [Support Threads](https://wordpress.org/support/plugin/full-text-search/)
 * [Active Topics](https://wordpress.org/support/plugin/full-text-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/full-text-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/full-text-search/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [graebertjapan](https://wordpress.org/support/users/graebertjapan/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/cannot-search-string-pat/#post-16556865)
 * Status: not resolved