jeudi 30 juillet 2015

Passing in specific return order for AWS Cloudsearch query

Is there a way that I am able to tell a cloudsearch query that I want to get the matching results back in a specific order?

I have cloudsearch populated with Products. For each User, I have a predefined order that I want those products to appear. The user can filter the Products by a number of fields, and this will call Cloudsearch and return the matches, 10 at a time (ajax loaded paged results)

How can I tell Cloudsearch that once it has found those matches, I want them to be returned in the predefined order for this particular customer?




Aucun commentaire:

Enregistrer un commentaire