Wrong sort order when searching

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Post Reply
xnejp03
Posts: 4
Joined: Fri Oct 01, 2010 3:33 pm

Sun Jan 12, 2020 2:10 pm

This is via the API and your own website.

Search for "pawn stars" and the exact match is actually only the 5th result from the top.
ChristyEzzell
Posts: 950
Joined: Tue Feb 26, 2019 12:01 pm

Wed Jan 15, 2020 10:26 am

xnejp03 wrote:
Sun Jan 12, 2020 2:10 pm
This is via the API and your own website.

Search for "pawn stars" and the exact match is actually only the 5th result from the top.
Hello,

I dug into your question regarding Search. In the new site we moved to Algolia which is far superior to the search engine we were using before. We need to run a script to pull follower counts from a different data source back into Algolia and change the sort configuration to reveal the most popular series. That initiative is ticketed and should be done in the next couple of weeks. Once it is, it will implemented on both the site and passed back through the API. 
k_zeon
Posts: 62
Joined: Mon Nov 23, 2015 10:17 am

Wed Jan 15, 2020 10:45 am

ChristyEzzell wrote:
Wed Jan 15, 2020 10:26 am
xnejp03 wrote:
Sun Jan 12, 2020 2:10 pm
This is via the API and your own website.

Search for "pawn stars" and the exact match is actually only the 5th result from the top.
Hello,

I dug into your question regarding Search. In the new site we moved to Algolia which is far superior to the search engine we were using before. We need to run a script to pull follower counts from a different data source back into Algolia and change the sort configuration to reveal the most popular series. That initiative is ticketed and should be done in the next couple of weeks. Once it is, it will implemented on both the site and passed back through the API. 
Why would the search be based on popularity. Should it not be based on word matches..?? Just asking
ChristyEzzell
Posts: 950
Joined: Tue Feb 26, 2019 12:01 pm

Wed Jan 15, 2020 11:37 am

It is based on word matches. You do receive "Pawn Stars" in a search, it's just not the first one. Employing a popularity ranking would make it the first, as opposed to some of the less popular franchises.
fredrikomfg
Posts: 11
Joined: Thu Dec 08, 2016 10:58 am

Thu Jan 16, 2020 8:23 am

ChristyEzzell wrote:
Wed Jan 15, 2020 11:37 am
It is based on word matches. You do receive "Pawn Stars" in a search, it's just not the first one. Employing a popularity ranking would make it the first, as opposed to some of the less popular franchises.
I would expect any exact match to be displayed first always, and popularity sorting for the rest. And if no exact match is found (or more than one), use popularity sorting. This is the only thing that makes sense.
Post Reply