The Movie Database Support

Using the movie search API with the query string "Mr. & Mrs. Smith" limited to year 2005 I get results in the following order:

'original_title' => 'Mr. Christmas',
'original_title' => 'Mr. & Mrs. Smith',
'original_title' => 'Mr. Nice Guy',

And so on. This seems like a really incorrect search result ordering, is there any chance this can be fixed?

(Side note, performing the search with query_type => ngram does indeed give the correct movie as the first result but it follows it with a number of apparently random movie suggestions which makes me hesitant to rely on it for a large corpus of searches)

Also the when you search via the actual website for 'Mr. & Mrs. Smith' it sure doesn't return 'Mr. Christmas' !

3 erantzun (1(e)tik 1. orrian)

Jump to last post

Hi rmzg,

Are you making sure to escape the ampersand?

http://api.themoviedb.org/3/search/movie?api_key=###&query=Mr.+%26+Mrs.+Smith

and

http://api.themoviedb.org/3/search/movie?api_key=###&query=Mr.+%26+Mrs.+Smith&search_type=ngram

Provide proper results.

Wow, thanks. I guess what's what I get for trusting third party libraries!

;)

If possible, you should contact the developer of the library and/or perhaps contribute a fix for it.

Cheers.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Ezarpenak

Elementu hau kalifikatu edo zerrenda batera gehitzea nahi al duzu?

Saioa hasi