Hi Mike, True, plus I need to implement pagination. It seems like the search:search functionality is ideal, but I have a little bit of a learning curve with it. I have looked at the documentation, but I'm wondering if there are any examples available of transforming a cts:search into a search:search function call?
Thanks again, Tim -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Michael Blakeley Sent: Wednesday, March 27, 2013 5:04 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] How to program the order by clause in FLWOR? What I mean is that if you want to support N sort keys, each ascending or descending, you'll need to enumerate 2N conditionals. With string concatenation and xdmp:value you can support any number, with much less code. And then if you want to support multiple dynamic sort keys at the same time, things get ugly fast. -- Mike _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
