Adding ability to set connection on search

Also adding the ability to override default connection in the
configuration
Merge pull request #1 from kevin-cole/connection_update

Adding ability to set connection on search