The Movie Database Support

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 svar (pÄ sida 1 av 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).

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus pÄ sökrutan
p öppna profilmenyn
esc stÀng ett öppet fönster
? öppna tangentbordsgenvÀg fönstret

PĂ„ mediasidor

b gÄ tillbaka (eller till förÀlder nÀr det Àr tillÀmpligt)
e gÄ till redigerings sidan

PÄ tv-sÀsongssidor

(höger pil) gÄ till nÀsta sÀsong
(vÀnster pil) gÄ till den föregÄende sÀsongen

PĂ„ tv-avsnittssidor

(höger pil) gÄ till nÀsta avsnitt
(vÀnster pil) gÄ till föregÄende avsnitt

PĂ„ alla bildsidor

a öppna lÀgg till bild fönstret

PĂ„ alla redigeringssidor

t öppna översÀttnings vÀljaren
ctrl+ s skicka förmulÀr

PĂ„ diskussionssidor

n skapa ny diskussion
w vÀxla sedd-status
p vÀxla offentligt/privat
c vÀxla stÀng/öppna
a öppna aktivitet
r svara pÄ diskussionen
l gÄ till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nÀsta sida
(vÀnster pil) föregÄende sida

InstÀllningar

Vill du betygsÀtta denna artikel eller lÀgga till den i en lista?

Logga in