Merge pull request #7 from needcaffeine/patch-1

Added missing param to conn.Search() in example doc
This commit is contained in:
Jérôme Renard 2014-05-12 07:31:37 +02:00
commit 802dff7e1c

View File

@ -86,8 +86,10 @@ func ExampleConnection_Search() {
},
},
}
extraArgs := make(url.Values, 1)
searchResults, err := conn.Search(query, []string{"someindex"}, []string{""})
searchResults, err := conn.Search(query, []string{"someindex"}, []string{""}, extraArgs)
if err != nil {
panic(err)