conn.Search() is missing extraArgs param

This commit is contained in:
Vic Vijayakumar 2014-05-11 18:24:23 -04:00
parent a3660786e2
commit 983f8b5136

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 { if err != nil {
panic(err) panic(err)