The "This result is ranked based on objectID" message indicates that none of your ranking criteria differentiates those results in terms of relevancy.
Algolia uses a tie-breaking algorithm for ranking search results.
By default, it works as follows (as described in this document):
- It orders all matching records according to the first criterion (number of typos, so exact matches rank first).
- For all tied records, it orders them according to the second criterion (geolocation).
- If there are still tied records (with the same geolocation), it orders them according to the third criterion (filters) and so on, until each record in the search results has a distinct ranking position.
- If, after going through the first seven criteria, there are still tied records, Algolia uses each of your custom ranking attributes to break the tie.
After going through all steps and if the custom ranking does not break the tie, Algolia ranks the items based on the objectID.
The message indicates that this situation happened.
If you'd like to avoid such situation and make your ranking criteria meaningful, we recommend reviewing your ranking strategy and consider adding or modifying custom rankings that can break the tie of such items.
You can also find the detail of the default ranking criterion in this document.