Thanks Mike and Colleen, I knew I had seen it somewhere ... That should do the trick. -David
---------------------------------------- David A. Lee Senior Principal Software Engineer Epocrates, Inc. [email protected] 812-482-5224 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Colleen Whitney Sent: Wednesday, September 21, 2011 10:19 AM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Adding additional cts:search parameters to search:search David, Take a look at <additional-query>, which can contain any serialized cts search, including complex queries. As a side note, <searchable-expression> becomes the first argument to cts:search; unlike additional-query, which is AND-ed with the search string, it can change the granularity of the results that come back. --Colleen ________________________________________ From: [email protected] [[email protected]] On Behalf Of Lee, David [[email protected]] Sent: Wednesday, September 21, 2011 7:03 AM To: General Mark Logic Developer Discussion ([email protected]) Subject: [MarkLogic Dev General] Adding additional cts:search parameters to search:search Could anyone suggest the easiest way to add additional cts:search parameters to a search:search ? E.g. suppose I wanted to "AND" in a cts:attribute-range-query to a search:search without passing it in the search string itself. I'm already using the searchable-expression ... is there a way to append to this ? or can the the searchable-expression itself be a compound search structure instead of a simple xpath ? Thanks for any pointers. ---------------------------------------- David A. Lee Senior Principal Software Engineer Epocrates, Inc. [email protected]<mailto:[email protected]> 812-482-5224 _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
