The Movie Database Support

Is there any documentation on the special search terms in queries such as .lte, .gte and the effect of characters and strings such as - and 'or'.

I've had some problems recently where having hypen in the wrong place in a query string produced 38,000+ results when it should have been zero.

4 replies (on page 1 of 1)

Jump to last post

Hi nzsjb,

The only methods that support such queries are all documented in our documentation. If it's not documented, there is no support.

Thanks for the rapid response Travis.

I think my question was phrased badly.

I'm issuing a Search. If the CGI escaped string contains certain words that could be construed as conditionals like 'or' or if a hyphen precedes part of the query string with no space after it seems to be processed as a complex query.

If I enclose the whole query text in quotes it seems to process it literally.

I was wondering if there was any documentation on how the Search string is used by TMDB.

There is no deliberate support for 'and' or 'or' but that's not to say between some of the layers of abstraction you weren't tripping on something to this effect.

Do do you happen to have an example? I'm not sure if this would be something we try to support or not, I'll need to investigate it with some working examples and decided what's best.

Thanks!

Here's an example (note there is no space between the hyphen and the word Australia's). This string returns 37,000+ results

The Ashes-Perth -Australia's Best

Add a space between the hyphen and the word Australia's and you get zero results.

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

Settings

Want to rate or add this item to a list?

Login