Forum: change character minimum for search


#1

Hello,
I did a “google” search on Discourse, and discovered this:
Open admin dashboard, and set settings > others > “min search term length” to 1

I don’t have discourse, but perhaps you can lower it so that we can search for 1 or 2 character strings like := or >>


#2

I did that though it does not seem to help with searching for :=. Maybe need to wait a bit for reindexing or something…


#3

Yea, you might be able to reindex manually:
Here’s the link for the instructions: (but I am not sure if the UTF-8 encoding is really necessary since this specific example is for CJK Languages, but the reindexing is described last:
rake search:reindex
https://meta.discourse.org/t/adjust-discourse-search-to-work-with-cjk-languages/28741


#4

Wow this is quite involved! Ok I will look into this when I am back home at my desk next week.