Supporto 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 risposte (nella pagina 1 di 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).

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi