Skip to content

Structured Query Syntax

isubiker edited this page Jan 31, 2012 · 9 revisions
Clone this wiki locally

Structured Query Syntax

Structured queries expose a tremendous amount of functionality and flexibility in order to describe what documents should be returned. The query can be described using two different formats, JSON or XML. While the two formats have similar organization, they can not be mixed.

Keyword Constructors

Metadata Constructors

Geospatial Constructors

Geo range constructors

Boolean Constructors


How do you match a date? It seems a shame (and not fully reliable) to have to do a string match. It should be datatype-aware I think, which means range index. A range equality test?

The "price" example should maybe be "price-below" because who would use "price" to mean less than?

The examples mostly use "key". What about finding hits in elements or element-attributes?

Something went wrong with that request. Please try again.