Podpora The Movie Database

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 odpovědí (na stránce 1 z 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.

Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.

Globální

s zaměřit panel hledání
p otevřít nabídku profilu
esc zavřít otevřené okno
? otevřít okno klávesových zkratek

Na stránkách médií

b zpět (nebo na nadřazený záznam, pokud to jde)
e na stránku úprav

Na stránkách sezón

(šipka vpravo) na další sezónu
(šipka vlevo) na předchozí sezónu

Na stránkách epizod

(šipka vpravo) na další epizodu
(šipka vlevo) na předchozí epizodu

Na všech stránkách obrázků

a otevřít okno přidání obrázku

Na všech stránkách úprav

t otevřít výběr překladu
ctrl+ s odeslat formulář

Na stránkách diskusí

n vytvořit novou diskusi
w přepnout stav zhlédnutí
p přepnout veřejný a soukromý
c přepnout zavřít a otevřít
a otevřít aktivitu
r odpovědět na diskusi
l na poslední odpověď
ctrl+ enter odeslat zprávu
(šipka vpravo) další stránka
(šipka vlevo) předchozí stránka

Nastavení

Want to rate or add this item to a list?

Přihlásit se