Skip to main content

Sorting assets by "Relevance"

Comments

2 comments

  • Millie Axelrod

    Hi Rafael,

    We are currently using Elasticsearch as our search engine of choice. The algorithm uses different criteria to score an asset’s relevance. These include term frequency, field length norm and other various factors. For example, if an asset includes all three relevant tags but also has other tags on it that were not included in the search, the asset will be of less relevance than an asset that includes only the three or two tags that were searched for.

    I hope this better explains the search results. If you have any further questions, please feel free to reach out to us at  support team at support@cloudinary.com.

    Best regards,

    Millie Axelrod





    0
  • Rafael Martinez-Jausoro

    Hi Millie,

     

    Thanks for the explanation. Although it is not the ideal behaviour for us in terms of searching for the most relevant assets, I must admit it makes sense and it is just as valid :)  In any case, it is good to know how it works in order to understand the reason behind the results.

    If there is ever a change in the criteria for sorting by relevance, please, consider my suggestion above.

     

     

    0

Post is closed for comments.