In case anyone is interested I found this custom result snippet example - 
http://xqzone.marklogic.com/pipermail/general/2009-October/003671.html 

Thanks.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Shah, Mehul 
(LNG-NPV)
Sent: Friday, October 08, 2010 10:16 AM
To: General Mark Logic Developer Discussion
Subject: [MarkLogic Dev General] result with additional fields

How do I have search:search return me not only matched nodes but certain 
additional elements of documents.

For example some metadata of document I always want to return <meta> for a 
search that matched node1 only (say I searched "n1") .

<doc>
<meta>this has some important doc metadata elements</meta>
<node1> Some text for n1</node1>
<node2> Some text for n2</node2>
...
</doc>



Thank you,
Mehul.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to