Log in

No account? Create an account
penrose orange



cat /var/log/stephen >/dev/eyes

Today in geekery
penrose orange
I use the Tracker desktop search program. After an upgrade recently, it started behaving differently.

The indexer has a list of common "stop words" which it omits from indexing. For example, the Murray Gold track "All the Strange, Strange Creatures" is indexed under "strange" and "creature", but not "all" or "the" because they are common words. After the upgrade, I noticed that the search function seemed to be including stop words in the search. So if I open the search tool and type "all the strange creatures", I get no results because nothing is indexed under "all" or "the".

I modified the search code to strip the stop words out of the input before performing the search. Here's the patch, against version 0.6.92 of the source.

Pure, unadulterated nerdityCollapse )