Ignored words when searching
Moderator: Moderators
Ignored words when searching
Why are certain common words ignored on searches? Many times since the migration of the forums I have had trouble searching for threads/posts just because certain words are filtered out. Even though the words are common, they can be used with other (common or not) words to form not-so-common combinations. For example, I can't search for anything related to sprites (sprite cycling, sprite corruption, sprite animation, etc.) because the word "sprite" is ignored.
Because of this, I often have to try hard and remember other things (not necessarily related to the information I'm after) that might have been mentioned in a thread I'm looking for just so I can find it. I can only do this because I was around when the thread was made and have read it before, but what about new users? They can't do that, they rely on a search mechanism that doesn't ignore words that can form unique combinations with other words.
Can we reconsider some of these filtered words?
Because of this, I often have to try hard and remember other things (not necessarily related to the information I'm after) that might have been mentioned in a thread I'm looking for just so I can find it. I can only do this because I was around when the thread was made and have read it before, but what about new users? They can't do that, they rely on a search mechanism that doesn't ignore words that can form unique combinations with other words.
Can we reconsider some of these filtered words?
Re: Ignored words when searching
Does Google sprite site:forums.nesdev.com also fail?
Re: Ignored words when searching
I haven't tried, but it's kinda lame that we need an external tool for searches when our own software is able to do it. This solution is also very counter-intuitive.
Re: Ignored words when searching
Oh the irony. I search for "hit" and I get 1688 matches. I search for "sprite hit" (with search for all terms checked) and get the same number of matches. The system's explanation is that it helpfully omitted "sprite" because it's such a common word and would therefore cause excessive matches. Except that as you say, this is a narrowing search, and thus it would reduce the number of matches. Total retardation.
Re: Ignored words when searching
Exactly. And your example is perfect: it's practically impossible to search for info on sprite hits.
Re: Ignored words when searching
I'm not sure what can be done about this, honestly. Expecting a piece of forum software to have the same logic and "smarts" as a major search engine is unreasonable, though I do understand where you're coming from (re: usability).
We're limited to what you see in the below screenshot. There's absolutely nothing else we can adjust/change. That's just how phpBB is.
We're limited to what you see in the below screenshot. There's absolutely nothing else we can adjust/change. That's just how phpBB is.
Re: Ignored words when searching
Near the bottom is a "Common word threshold". Perhaps a certain soft drink made by Coca-Cola is in the top 5 percent, and the value needs to be lowered and the index rebuilt.
Re: Ignored words when searching
Or set the value to 0 (may or may not need rebuilding of the index), and see if there's really a performance hit big enough to warrant changing it back to value greater than 0.tepples wrote:Near the bottom is a "Common word threshold". Perhaps a certain soft drink made by Coca-Cola is in the top 5 percent, and the value needs to be lowered and the index rebuilt.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: Ignored words when searching
Tepples et all are welcome to change this if they want. I have no idea of what the repercussions performance-wise or database-wise (e.g. craploads of rows resulting in a gigantic table, SELECT queries taking a long time (no idea if they use INDEXes), etc...).
Re: Ignored words when searching
Ah, so the common words are automatically detected by the software... This is kinda stupid, some of these common words are crucial to make searches meaningful.
- rainwarrior
- Posts: 8734
- Joined: Sun Jan 22, 2012 12:03 pm
- Location: Canada
- Contact:
Re: Ignored words when searching
sprite sprite sprite sprite sprite!
Now you'll never find them! MUA HA HA HA HA HA!
Now you'll never find them! MUA HA HA HA HA HA!
Re: Ignored words when searching
This can't be right either.No posts were found because the word ciclone is not contained in any post.
No posts were found because the word 10nes is not contained in any post.
No posts were found because the word 3195 is not contained in any post.
Re: Ignored words when searching
I cleared the index, set the stopword threshold to 1%, and rebuilt the index. It may take a few hours, or it may have been killed by a max_execution_time restriction on the web server. WhoaMan might be the best one to troubleshoot this.
Re: Ignored words when searching
Hmm, shouldn't it actually be set to a higher value? If I understand the wording right, the meaning is "if the word is contained in over 5% of all posts, it will be regarded as common (and ignored)", so 1% would actually regard more words as common.tepples wrote:I cleared the index, set the stopword threshold to 1%, and rebuilt the index. It may take a few hours, or it may have been killed by a max_execution_time restriction on the web server. WhoaMan might be the best one to troubleshoot this.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
Re: Ignored words when searching
My bad, I thought it was the top 5 percent of words, not words in over 5 percent of posts. I was confused by "Set to zero to disable". I'll rebuild the table again.