We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the def algolia_search function:
def algolia_search
json = algolia_raw_search(q, params) hit_ids = json['hits'].map { |hit| hit['objectID'] }
json = algolia_raw_search(q, params)
hit_ids = json['hits'].map { |hit| hit['objectID'] }
This throws an error as the hash uses symbol keys in the new version but the access uses string keys.
Just upgraded to 2.1.1. Simply use search (not raw)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
In the
def algolia_search
function:json = algolia_raw_search(q, params)
hit_ids = json['hits'].map { |hit| hit['objectID'] }
This throws an error as the hash uses symbol keys in the new version but the access uses string keys.
Steps To Reproduce
Just upgraded to 2.1.1. Simply use search (not raw)
The text was updated successfully, but these errors were encountered: