update comment for revised contexts
This commit is contained in:
parent
e658d4daaa
commit
b3d22313ba
|
@ -13,8 +13,7 @@ func (c *Client) Search() *Search {
|
||||||
return &Search{client: c}
|
return &Search{client: c}
|
||||||
}
|
}
|
||||||
|
|
||||||
// PrefixSearch returns a list of matches for a particular context and prefix. If a
|
// PrefixSearch returns a list of matches for a particular context and prefix.
|
||||||
// context is not specified, matches for all contexts are returned.
|
|
||||||
func (s *Search) PrefixSearch(prefix string, context contexts.Context) (*SearchResponse, error) {
|
func (s *Search) PrefixSearch(prefix string, context contexts.Context) (*SearchResponse, error) {
|
||||||
var resp SearchResponse
|
var resp SearchResponse
|
||||||
req := &SearchRequest{Prefix: prefix, Context: context}
|
req := &SearchRequest{Prefix: prefix, Context: context}
|
||||||
|
|
Loading…
Reference in New Issue