Thanks for the response and so quickly at that!

Tim

From: [email protected]
[mailto:[email protected]] On Behalf Of Rob Szkutak
Sent: Thursday, September 08, 2016 1:46 PM
To: MarkLogic Developer Discussion <[email protected]>
Subject: Re: [MarkLogic Dev General] Embedded element queries work in
cts:search but not in cts:uris?

 

Hi Tim, 

 

By default, cts:search() runs filtered queries and cts:uris() only runs
unfiltered queries. Think of unfiltered queries as queries that are resolved
based on index information alone. In other words, there isn't enough
information in your indexes for cts:uris() to resolve accurately. If you
chose to run cts:search() unfiltered, I expect you would see the same thing.

 

If you enable the "word position" and "element word position" indexes on
your database, then I expect you would see the correct results from
cts:uris() after the database finishes creating those indexes.

 

Best,

Rob

 

Rob Szkutak 

Senior Consultant

MarkLogic Corporation

[email protected] <mailto:[email protected]> 

Cell +1.716.562.8464

www.marklogic.com <http://www.marklogic.com> 

 

  _____  

From: [email protected]
<mailto:[email protected]>
[[email protected]] on behalf of Tim Meagher
[[email protected]]
Sent: Thursday, September 08, 2016 12:28 PM
To: 'MarkLogic Developer Discussion'
Subject: [MarkLogic Dev General] Embedded element queries work in cts:search
but not in cts:uris?

Hi Folks,

I have been able to successfully use embedded cts;element-value-query()
calls within cts:element-query() under cts:search to emulate an xpath query,
but using the same embedded call within cts:uris does not limit the results
the context of the cts:element-query(). I'm using ML7.0-5. Is this a bug or
a feature? 

Tim Meagher - Just some person trying to make a living.

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to