Search is often one of the simplest controls on a website, but it can support several useful behaviours when those behaviours remain consistent.
Normal queries should behave like normal searches. Special actions should not make ordinary users feel that the search box is unpredictable.
The best implementations preserve familiar behaviour first, then add extra capability in a way that remains fast, secure and easy to understand.
Technology
Why good search design should handle more than keywords
A useful search box can guide people toward content while keeping unusual actions predictable and unobtrusive.
