Skip to content

Instantly share code, notes, and snippets.

@eedeebee
Created December 20, 2013 18:31
Show Gist options
  • Select an option

  • Save eedeebee/8059211 to your computer and use it in GitHub Desktop.

Select an option

Save eedeebee/8059211 to your computer and use it in GitHub Desktop.
<search:plan>
<qry:query-plan xmlns:qry="http://marklogic.com/cts/query">
<qry:info-trace>xdmp:value("xdmp:plan(cts:search(fn:collection(),cts:query($query),$options,...")</qry:info-trace>
<qry:info-trace>Analyzing path for search: fn:collection()</qry:info-trace>
<qry:info-trace>Step 1 is searchable: fn:collection()</qry:info-trace>
<qry:info-trace>Path is fully searchable.</qry:info-trace>
<qry:info-trace>Gathering constraints.</qry:info-trace>
<qry:field-word-trace text="@NASA" field-name="tweet">
<qry:key>12422997346279939379</qry:key>
</qry:field-word-trace>
<qry:info-trace>Search query contributed 1 constraint: cts:field-word-query("tweet", "@NASA", ("lang=en"), 1)</qry:info-trace>
<qry:partial-plan>
<qry:term-query weight="1">
<qry:key>7424484381932610365</qry:key>
<qry:annotation>word("@NASA",field-name("tweet"))</qry:annotation>
</qry:term-query>
</qry:partial-plan>
<qry:info-trace>Executing search.</qry:info-trace>
<qry:final-plan>
<qry:and-query>
<qry:term-query weight="1">
<qry:key>7424484381932610365</qry:key>
<qry:annotation>word("@NASA",field-name("tweet"))</qry:annotation>
</qry:term-query>
</qry:and-query>
</qry:final-plan>
<qry:info-trace>Selected 1 fragment</qry:info-trace>
<qry:result estimate="1"/>
</qry:query-plan>
</search:plan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment