forked from marklogic-community/Corona
Structured Query Syntax
isubiker edited this page Jan 31, 2012
·
9 revisions
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.
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?