Would it be difficult to make search results sortable? i.e. you can click on the "Thread", "Thread Starter", "Forum", etc... header to sort your results by that column to make searching a little bit easier?
I just want to see restrictions removed on what you search for having to be longer than 3 letters. Sometimes the word or thing is just that short damn it.
It wouldn't be too hard to do that, no.
ed: reducing the size of searchable words increases the size of the search index.
Search index? I don't quite understand. Isn't every post put into the database and when I search it goes through those posts in the database? I don't understand searching quite that well but that is how I have always done it. I may get more results but if it helps me to find what I want then awesome.
If I rebuild the search index, expect 6+ hours of forum downtimeWhat words are that short that you're searching for? I could add it to the length exception list if it's not something silly like "the"
And looking how searches are stored in the database, it might need a hack to do that sorting thing, despite being relatively simple, so not doing that![]()
Normally, every word of four or more characters automatically gets built into the search index after every post, unless an admin has disabled that function. After a major upgrade, though, like when we upgrade to vB 3.5.0, the search index has to be completely rebuilt. If we allow words smaller than four characters to be indexed, the search index becomes bloated. The entire point of a search index is so that searches can be performed quickly and with minimal stress on the database.
It's already bloated, 8.1m entries in it![]()
Delete the index and start off with later post IDs. No one wants to search for Oldbie so-and-so's posts.![]()
I obviously have no clue how the searching really works on Vbullitin. I can't remember the words that I search for every now and then that are shorter than 4 words. Most of them are probably acryonims. I admit I don't use the search feature very much but when I do it seems to be a problem.
Still need a huge downtime, considering the skew of the distribution of posts over time towards more recently as the forum size grew rapidlyOriginally Posted by Yamaneko
![]()
Sorting the search results probably wouldn't be too bad on the database, but it would likely require us to modify the vBulletin source code a bit which we are trying to stay away from doing.
As for setting the 3 character search limit... Yams is right, although vB's current method of using an external search table is old. Mysql has a built-in fulltext index that we should be using instead (unfortunately, vBulletin 3.5 needs to come out first) but even that limits words to 4 charaters or more.
Does mysql's built-in index allow you to do partial-match searches easily?
Like phoenetic matches?
I'm not perfectly sure, but I don't think so. You would probably need to create a metaphone/soundex index table for that.