You can beat Google the way Amazon does. Here’s how