Skip to content

Commit

Permalink
doc: add missing doc string to search
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-zeman committed Nov 24, 2023
1 parent 360ff9f commit 7760d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions search.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ func SearchItems(userId string, searchQuery string, count int, opts ...RequestOp
}
}

// SearchItemSegments performs a full-text personalized search that returns Segments from a Segmentation.
// The results are based on the provided searchQuery and also on the user’s past interactions (purchases, ratings, etc.).
func SearchItemSegments(userId string, searchQuery string, count int, opts ...RequestOption) Request {
params := make(map[string]interface{})
params["searchQuery"] = searchQuery
Expand Down

0 comments on commit 7760d4c

Please sign in to comment.