Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search parametters don't accept lists of strings (and should) #41

Closed
eskombro opened this issue Jun 2, 2020 · 1 comment
Closed

Search parametters don't accept lists of strings (and should) #41

eskombro opened this issue Jun 2, 2020 · 1 comment
Assignees
Labels
bug Something isn't working SDK Ruby

Comments

@eskombro
Copy link
Member

eskombro commented Jun 2, 2020

Search parameters like attributesToRetrieve can't handle a list of strings. You should be able to pass a list of fields, not just a single string or '*'.

Example

response = @index.search('the', attributesToRetrieve: ['title', 'release_date'])

Failing test

Screenshot 2020-06-02 at 19 35 41

@curquiza
Copy link
Member

curquiza commented Jun 6, 2020

Closed by #46

@curquiza curquiza closed this as completed Jun 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SDK Ruby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants