Hi,
Most of the documents I target with cts:search contain many fragments, but
those fragments are not usually required in the results.
I've been using doc() as the first argument, but now I'm concerned that
doc() may be reconstructing the entire document including the fragments:
cts:search(doc(), $cq, 'unfiltered')/content/lookupInfo
(/content/lookupInfo is not in a fragment) If so, could I avoid that by
using this type of syntax:
cts:search(/content/lookupInfo, $cq, 'unfiltered')
If entire documents are being reconstructed that would quickly eat up
expanded cache (if I understand correctly). My guess is that MarkLogic is
smart enough to avoid this extra work but want to make sure.
Thanks,
gary
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general