Hi..!

  Because of some constraints I had to use Additional Query part
instead of search term while using the search API. After I started
using the  Additional Query part, the snippet part isn't working
correctly, it is just returning some text instead of hit-higlighting
the search term.

I check the API code, only parsed query instead of combined query
(parsed qry + additional qry)
is being passed to the do-snippet function, once I changed it to
combined query I got the desired output but I am just skeptical if
this would break any thing else.

snip:do-snippet($result, $parsed-query,$options/opt:transform-results)

Can someone help me.

Thanks
Pradeep Maddireddy
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to