Soporte de The Movie Database

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 respuestas (en la página 1 de 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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión