Problem/Motivation
Adding a sort option doesn't seem to work, when a field is added as a sort option it results in errors like this:
"changed" field, ascending order:
Search request failed. Index: algolia_changed_asc. Error: Index algolia_changed_asc does not exist. Request: {"query":"*","request_options":{"attributesToRetrieve":["search_api_id"],"facets":[],"clickAnalytics":true,"length":11,"offset":0}}
"changed" field, descending order:
Search request failed. Index: algolia_changed_desc. Error: Index algolia_changed_desc does not exist. Request: {"query":"*","request_options":{"attributesToRetrieve":["search_api_id"],"facets":[],"clickAnalytics":true,"length":11,"offset":0}}
Steps to reproduce
Add fields to the index.
Build a view that uses the index.
Add one of the fields to be a sort option.
Proposed resolution
Fix the sort logic.
Remaining tasks
Fix the sort logic.
User interface changes
Sort options work.
API changes
TBD
Data model changes
n/a
Comments
Comment #2
damienmckennaComment #3
damienmckenna