> For the order by part, I have a question: I build the range > index using > collation http://marklogic.com/collation/en/MO, it is the > same as the one I > need for order by. I'm not sure when cts:element-values > returns value, is it > using the collation that I put for range index? It seems the > list is correct, I > just want to double check. > > another question for cts:element-values, is it possible that > I can change the > return ordering? currently the list it returns are in > ascending order, if I want > the list returned in descending order, is there anyway I can > do it? or I have to > use order by?
It is both described here: http://developer.marklogic.com/pubs/4.1/apidocs/Lexicons.html#cts:element-values You can specify ascending or descending as option, and pick a specific collation. Kind regards, Geert drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 P Please consider the environment before printing this mail. De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
