The Movie Database atbalsts

Hello,

I have my search set for auto-complete (ngram) but the results that come back are not quite what you expect. An example would be 'thor'. I think it's because I'm not ordering the results by latest year.

I see the filter options in the api but is there any sort options? I understand it's a little more complex with search results - concepts like 'recency' but exact matches ordered by film year should be suffice.

We are also interested in spellchecking. Tools like Solr can scan all the film titles in the db and work out what someone is trying to type if they get it wrong. This works well when you have access to all the data so just wondering if it's a plan for the future?

Huge thanks, David

3 replies (on page 1 of 1)

Jump to last post

Hey David,

Our entire search stack is actually powered by Solr but we do not have any plans to support spell check at this time.

There's a bunch of things that go into the way we order results, the basics are exact matches first then we boost results by popularity. Popularity is a value that gets updated daily and takes a number of things into account like views, number of ratings/watchlist/favourite additions and release date. It's important to mention that we don't sort by popularity or any discrete value for that matter and that all we do is boost by it. Search results are ordered by there Solr score and nothing else.

There's a few fields that are weighted differently that get indexed per movie as well. Original title, translated titles and alternative titles for example.

We don't currently have plans to support sorting at the search level right now.

Cheers Travis,

We're actually building a social rating system to tie into the film data returned and prob look to do some client-side sorting for specialist stuff.

I checked http://www.themoviedb.org/search/movie?query=thor and the results look correct. However, I don't get these results with 'thor' using the api and ngram. Is there something I'm missing?

Many thanks, David

Hey David,

The website is using the default "phrase" search_type. However, I'm not sure what you expect to see that you're not. The first 5 results with this query:

http://api.themoviedb.org/3/search/movie?api_key=###&query=thor&search_type=ngram

Are:

  1. Thor
  2. Thor: The Dark World
  3. Legends of Valhalla: Thor
  4. Thor: Tales of Asgard
  5. Thorne: Scaredy Cat

What are you expecting to be different?

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties