[Corona] Highlighting using stringQuery and structuredQuery

Ryan Grimm grimm at xqdev.com
Wed Jun 27 09:20:23 PDT 2012


Hi Gnanaprakash,

Yes, you can have your results highlighted and in fact you're pretty close with the request that you provided. The trick is indeed using an include parameter set to highlighting but try it without the quotes:

search?stringQuery=Teaching&outputFormat=xml&collection=Resources&include=highlighting

Let me know if that does the trick for you.

--Ryan


On Jun 27, 2012, at 4:55 AM, <Gnanaprakash.Bodireddy at cognizant.com> <Gnanaprakash.Bodireddy at cognizant.com> wrote:

> Hi,
>  
> Is there any option in corona to highlight the text being searched using stringQuery or structuredQuery.
>  
> I am trying something like this search?stringQuery=Teaching&outputFormat=xml&collection=Resources&include="highlighting"
>  
> Can you please help me getting the text highlighting in corona.
>  
> Thanks and Regards,
>  
> Gnanaprakash Bodireddy
> Sr Associate - Projects | IME
> Cognizant Technology Solutions
> VNET: 682831
> (O): +91 (40) 44514444 extn: 682831
> (M): +91-8897575644
>  
> This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information.
> If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
> Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful.
> 
> _______________________________________________
> Corona mailing list
> Corona at developer.marklogic.com
> http://community.marklogic.com/mailman/listinfo/corona



More information about the Corona mailing list