At best they share 6 lines of consecutive code (the search block). Trying to factor out the fields into variables [seems pretty messy](https://gist.github.com/daviddavis/6306779).

Also, I only see one style difference for similar lines of code (the last lines).