conn.Search() is missing extraArgs param
This commit is contained in:
parent
a3660786e2
commit
983f8b5136
@ -87,7 +87,9 @@ func ExampleConnection_Search() {
|
||||
},
|
||||
}
|
||||
|
||||
searchResults, err := conn.Search(query, []string{"someindex"}, []string{""})
|
||||
extraArgs := make(url.Values, 1)
|
||||
|
||||
searchResults, err := conn.Search(query, []string{"someindex"}, []string{""}, extraArgs)
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Loading…
Reference in New Issue
Block a user