u1db-discuss team mailing list archive
-
u1db-discuss team
-
Mailing list archive
-
Message #00034
Re: Index collation - was: Indexing and lists
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
> A question - how are the indexes collated? Ie. does "Élèphant"
> sort before or after "Elephant"? With the current locale of the
> executing user? That could turn out "interesting" if I have two
> boxes one in English and one in Danish...
>
> This seems like a tricky problem unless the collation must be
> specified at index creation time.
>
> Cheers, Mikkel
>
ATM, querying an index does *not* sort the returned documents. So
applications are free to sort them however they like.
On the flip side, we want to support range queries (we'd like to at
least do pagination). For that we'll probably need a different
specific API anyway (at a minimum we have to grow options on this one).
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7GGAMACgkQJdeBCYSNAAO2EQCgz6z6RyD9CirTG+/KvDaeI9iL
L3AAnidudy8wkoLhWWYl4Qp2ZdC/Im1I
=qaYs
-----END PGP SIGNATURE-----
Follow ups
References