WordPress re-indexing overwrites any values set in Algolia, so I need to set a custom ranking from within Wordpress. I have data available in wp_searchable_posts called 'priority', which needs to dictate the order in which posts appear as the top ranking factor.
What happened instead?
Nothing. When I refresh the Algolia indicies section, nothing has changed.
How can we reproduce this behavior?
The code below is what I'm trying to use. Is this the correct way to do this?
What did you expect to happen?
WordPress re-indexing overwrites any values set in Algolia, so I need to set a custom ranking from within Wordpress. I have data available in wp_searchable_posts called 'priority', which needs to dictate the order in which posts appear as the top ranking factor.
What happened instead?
Nothing. When I refresh the Algolia indicies section, nothing has changed.
How can we reproduce this behavior?
The code below is what I'm trying to use. Is this the correct way to do this?
Technical info