The Movie Database Support Forum

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 Antworten (Seite 1 von 1)

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.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden