An nice article provide a complicate solution of global search - "Domain Searching Using Visitors". I think you can guess from the name, it is a solution which is look nice and damn flexible. However, this also very complicate and not everyone like to do that much upfront design first. Anyway, a nice reading http://www.onjava.com/lpt/a/5927