Merge pull request #6 from r--w/master

Extra parameters for searching
conn.Search() is missing extraArgs param
Merge pull request #7 from needcaffeine/patch-1

Added missing param to conn.Search() in example doc
Added HTTP client override support
Merge pull request #8 from opsmatic/customclient

Added HTTP client override support
added travis-ci file
Merge pull request #11 from bobrik/travis

Added travis-ci file
removed index param from BulkSend
go fmt
Merge pull request #12 from bobrik/bulk-witout-index

Bulk witout index
Support for structs in document fields
Test to verify fields in a document can be extracted from a struct
Addition of getConnection() method and ES_HOST/ES_PORT env vars in example_test.go
gofmt pass
Merge pull request #14 from acasas/fields_struct

Support for passing a struct to a document instead of map[string]interface{}
Support for running a _query with an http method

This allows operations like delete by query.
Included test for delete by query.
Merge pull request #15 from sasbury/master

Support for running a _query with an http method
Fix test: replace _all index with the right index name used in test.
Merge pull request #17 from wux/master

Fix test: replace _all index with the right index name used in test.