Hi Justin,

I'm returning the search results in an Atom feed and I want specific
elements from the document that matched.
I manipulate these elements with XQuery to place them in the appropriate
Atom elements.  The snippet function only returns the text so that does
not work for me.  In addition, I don't want to highlight all the
matches, only those that occur within some of the elements I have
chosen.

You mentioned additional query processing done in the snippeting
function.  Can you send or point me to that code?  Perhaps that is what
I need to get past this problem.  I did play with regex to try to
eliminate the constraints from the query since , but that was pretty
ugly and I hoped you would have a more robust way of handling this.


Bob,

Do you have some sample content and queries you might be able to share
to illustrate your situation? The built-in snippetting function does
some additional processing on the query that it passes to cts:highlight
to better target relevant content. This is the behavior that you see in
the Oscars sample application.

I'd also like to understand where the Search API's snippetting function
fell short for your requirements. We're always looking for ways to
improve it. Any insight would be much appreciated.



Justin
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to