Suporte do The Movie Database

Hey, I am wondering since especially when using Multi Search for actors it tends to usually give right person as first results, but in some cases i.e. searching for Morgan Freeman it gives him as third result. With Morgan Freeman case it gives two tv-shows first, which id's are "newer" (number is bigger than Morgan's Id, don't know if related) and then comparing e.g. popularity of these three results Morgan Freeman (as person) is highest, or is there any logic behind these at all. But for consistency's sake I would appreciate to know if there could be changes to made that person result's would be given out first :)

4 respostas (na página 1 de 1)

Jump to last post

I did a search using the following Request.
https://api.themoviedb.org/3/search/person?api_key=[MY_KEY]&language=en-US&query=Morgan%20Freeman&page=1&include_adult=false

See the result. Different from yours.

page    1
total_results   3
total_pages 1
results 
0   
popularity  11.535
id  192
profile_path    "/oGJQhOpT8S1M56tvSsbEBePV5O1.jpg"
name    "Morgan Freeman"
known_for   […]
adult   false
1   
popularity  0.6
id  66800
profile_path    "/sahczLXjQ9b9zPHfASuRRrINgHQ.jpg"
name    "Morgan J. Freeman"
known_for   […]
adult   false
2   
popularity  2.744
id  98628
profile_path    "/MYOL9TGBy4xVT9zvDOpIPcO8uV.jpg"
name    "Kim Fields"
known_for   […]
adult   false

Can you put here the Requisition you used?

https://api.themoviedb.org/3/search/multi?api_key={MY_KEY}&language=en-US&query=Morgan%20Freeman&page=1&include_adult=false

So like I said in the title, I am using "multi" seacrch and I see you are using "person" search. And reason I am using Multi search is because I just want to be able to search movies, tv-shows and persons with that one search action without making it too difficult, just wondering why the "order" of the results changes in some cases.

{
  "page": 1,
  "total_results": 11,
  "total_pages": 1,
  "results": [
    {
      "original_name": "Through the Wormhole",
      "id": 32900,
      "media_type": "tv",
      "name": "Through the Wormhole",
      "vote_count": 62,
      "vote_average": 7.74,
      "poster_path": "/yzlGw8yFbVwoHS52g8C0DFYDak9.jpg",
      "first_air_date": "2010-06-09",
      "popularity": 10.06,
      "genre_ids": [
        99
      ],
      "original_language": "en",
      "backdrop_path": "/veLfJ49zNVzFzwwtAL7KA6fs6Np.jpg",
      "overview": "Hosted by Morgan Freeman, Through the Wormhole explores the deepest mysteries of existence - the questions that have puzzled mankind for eternity. What are we made of? What was there before the beginning? Are we really alone? Is there a creator? These questions have been pondered by the most exquisite minds of the human race. Now, science has evolved to the point where hard facts and evidence may be able to provide us with answers instead of philosophical theories. Through the Wormhole brings together the brightest minds and best ideas from the very edges of science - Astrophysics, Astrobiology, Quantum Mechanics, String Theory, and more - to reveal the extraordinary truth of our Universe.",
      "origin_country": [
        "US"
      ]
    },
    {
      "original_name": "The Story of God with Morgan Freeman",
      "id": 66185,
      "media_type": "tv",
      "name": "The Story of God with Morgan Freeman",
      "vote_count": 18,
      "vote_average": 7.22,
      "poster_path": "/qPVGvTWLsPAPsN4e7U3Qd28HipY.jpg",
      "first_air_date": "2016-04-03",
      "popularity": 2.244,
      "genre_ids": [
        99
      ],
      "original_language": "en",
      "backdrop_path": "/7pnGtMK5JYlXUQ2gwKORnX6sap1.jpg",
      "overview": "Morgan Freeman presents his quest in order to find how most religions perceive life after death, what different civilizations thought about the act of creation and other big questions that mankind has continuously asked.",
      "origin_country": [
        "US"
      ]
    },
    {
      "popularity": 11.535,
      "media_type": "person",
      "id": 192,
      "profile_path": "/oGJQhOpT8S1M56tvSsbEBePV5O1.jpg",
      "name": "Morgan Freeman",
      "known_for": [...],
      "adult": false
    },
.....

Sorry, I got confused. grin
I think only Travis Bell can give you the details of that result.
And I just saw that he went on vacation.

Away on vacation from Jan. 20 - Feb. 4

@wonde Popularity is only used as a way to boost results, it's not used as an actual sorting value.

Sorting is done by Elasticsearch's own internally scoring. I suspect movie and TV results are given a higher matching score because there's more fields that are being matched (original title/name, translated titles/names and alternative titles).

Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em Páginas de Temporadas de Séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade