For the system I'm creating pages for some symbols have special functions. I have pages/nodes with those symbols as their title. @ and ! especially at issue because they appear in two different contexts (entirely different meaning in each), so there's two pages for each of them '@ (context A)' and '@ (context B)'.
When a user uses the Drupal Search, and searches solely on '@', those nodes should be in the search results. So far, I'm getting 'You must include at least one positive keyword with 0 characters or more.' when searching on the symbols, even after reducing the required word length to zero (I forced cron to run after doing so).
Does Drupal 6 strip out all or some of the symbols from the search text?
After playing with this for a while it occurred to me that since there's very few of these the approach might be to simply create a special case for them in the search. Is there a hook I could intercept in a module to handle the special cases? What's the best approach here? :)
To clarify, 'context A' and 'context B' were merely made up examples. the real thing would look more like: '@ (primitive)' and '@ (prefix)'. A search on '@' should turn up both, since the site has no way of knowing which (prefix or primitive) the user needs to know about.