Hi!
Are there any possibilities to search only in movie titles?
My problem is I'm getting irrelevant results when I'm using the /search/movie
option.
For example:
https://api.themoviedb.org/3/search/movie?api_key=<my_api_key>&language=en_US&query=Aliens&year=1986
And I'm getting 2 results. One of them is a strange result:
{
"poster_path": "/aFH1zXuPQ2lGt09QlszmsnRtgA9.jpg",
"adult": false,
"overview": "Scientists create a resonator to stimulate …",
"release_date": "1986-06-05",
"genre_ids": [
27,
878,
14
],
"id": 14510,
"original_title": "From Beyond",
"original_language": "en",
"title": "From Beyond",
"backdrop_path": "/kgici5fakunP1icF0M2VPFgXAZR.jpg",
"popularity": 1.357001,
"vote_count": 35,
"video": false,
"vote_average": 6.01
}
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on September 29, 2016 at 2:06 PM
Search currently searches three fields, the original title, all translated titles as well as all alternative titles. All weighted in this order so Aliens (the 1986 movie you're looking for) comes up first.
In this particular case, the German translation is matching and it happens to be released in 1986 so you're seeing both hits.
There's no way around this right now, and if you were German you'd appreciate seeing the result because that might be the movie you're looking for.
Future search versions will have the ability to specify a search language and ignore everything else. This is planned.
Reply by Gergely Iharosi
on September 29, 2016 at 2:26 PM
Thanks for the detailed explanation Travis! :-)
Reply by Deekan142
on December 11, 2016 at 11:19 AM
has this been fixed yet? I am having the same problem, thanks
Reply by Travis Bell
on December 11, 2016 at 11:37 AM
Hi @Deekan142 No. While a completely re-factored search is planned, it's not scheduled to be worked on for a few more months... maybe longer. It's a relatively low priority.