[Developers] MQL index property

David Flanagan david at davidflanagan.com
Wed Apr 16 17:23:33 UTC 2008


Christopher R. Maden wrote:
>> Is there any 
>> programmatic way to find out what properties are ordered and what the 
>> ordering represents?  Or does this simply come down to a schema 
>> documentation issue?
> 
> Neither, really.  Ordering is a property of data, not of schemata; any 
> non-unique property can have its values ordered, and there is no way to 
> require (or even request) its values to be ordered.
> 
> ~Chris

If the ordering is not to be documented as part of the schema, are you 
suggesting, then, that users add "sort":"index" to their queries  on the 
theory that they might be happier with the order things come out in, on 
the off chance that indices were added when the data was imported?

Or do you mean to suggest that ordering is never going to be documented 
or enforced, and so "sort":"index" is unreliable and shouldn't be used?

	David



More information about the Developers mailing list