I did some reviewing of the Search feature of HF and found some iffy MyBB behaviors. I already provided them a bug report about it but I went ahead and fixed the code myself.
Basically when you used Search and used any word under 3 characters you would get zero results. MyBB by default sets all search words as "+keyword" so an example might be..."setup my botnet", which MyBB in the query does "+setup +my +botnet". Which previously would provide ZERO results.
That was because the word "my" was too short and the + means it's an "AND" operator. Since "my" was only 2 characters and HF's default minimum index is 3 characters you would get ZERO results.
MySQL also has default stopwords. It's a list of words it does not put into the fulltext index of the database. Words like "is", "the", or "with". So a search like "Help with botnet" is "+help +with +botnet" and because "with" is part of stopwords but it is at least 3 characters it still is not in the fulltext index and you would get ZERO results.
So that's partially why search on HF has been mediocre and I assume many new members who type out any of these terms in search got 0 results just left. Older members probably just know to use one or two words to search.
We are considering changing out search to Google Site Search. I've used it before on HF and we might use it again. I like we have our own search but there could be SEO benefits to using Google Site Search. Any feedback on that?
Thanks again and enjoy.
Basically when you used Search and used any word under 3 characters you would get zero results. MyBB by default sets all search words as "+keyword" so an example might be..."setup my botnet", which MyBB in the query does "+setup +my +botnet". Which previously would provide ZERO results.
That was because the word "my" was too short and the + means it's an "AND" operator. Since "my" was only 2 characters and HF's default minimum index is 3 characters you would get ZERO results.
MySQL also has default stopwords. It's a list of words it does not put into the fulltext index of the database. Words like "is", "the", or "with". So a search like "Help with botnet" is "+help +with +botnet" and because "with" is part of stopwords but it is at least 3 characters it still is not in the fulltext index and you would get ZERO results.
So that's partially why search on HF has been mediocre and I assume many new members who type out any of these terms in search got 0 results just left. Older members probably just know to use one or two words to search.
We are considering changing out search to Google Site Search. I've used it before on HF and we might use it again. I like we have our own search but there could be SEO benefits to using Google Site Search. Any feedback on that?
Thanks again and enjoy.



![[Image: uw2cCW1.gif]](https://i.imgur.com/uw2cCW1.gif)

![[Image: DE93-ABEA-2-E28-4-F9-D-9-BB6-312-B3328937-E.png]](https://i.ibb.co/BcJWkqN/DE93-ABEA-2-E28-4-F9-D-9-BB6-312-B3328937-E.png)


