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.
Nerede bunu yapan bir kod koyarak başlamak istiyorum? Ben arama API bir kanca özledin mi?
UPDATE:
The Synonyms module does this for taxonomy terms. I still may need to do this for full-text search terms. Any suggestions?