I looked into the DP 6 search API and did not see a hook that would let me alter the search keys before they are passed into the search module to execute the search. I want to do keyword expansion on the string that the user entered. For instance, if the user entered 'foo', I want to execute a search for 'foo' and 'bar'. There should ultimately be a UI for these mappings, but for a quick prototype I can hardcode the strings.
Where would you start putting code that does this? Did I miss a hook in the search API?