Ignore the lawyers. Break the law. Opensource the search code. Create a chain of companies and burn each one when hit with a lawsuit. Don't try to win lawsuits - just use every possible tactic to delay them and so on. Create the company in a country where there are no software patents.