[MarkLogic Dev General] specifying document order

McBeath, Darin W (ELS-STL) D.McBeath at elsevier.com
Mon Jun 18 15:36:49 PDT 2007


You might want to try cts:contains ... But it might be a bit slower than cts;search.

-----Original Message-----
From: general-bounces at developer.marklogic.com <general-bounces at developer.marklogic.com>
To: General Mark Logic Developer Discussion <general at developer.marklogic.com>
Sent: Mon Jun 18 17:02:52 2007
Subject: [MarkLogic Dev General] specifying document order

How can you retrieve results from cts:search in document order?  They 
are ordered by relevance, and XQuery doesn't seem to provide an explicit 
"document order" order by clause.  There must be some (simple, 
efficient, elegant) way?

-Mike
_______________________________________________
General mailing list
General at developer.marklogic.com
http://xqzone.com/mailman/listinfo/general


More information about the General mailing list