Hi,

How do I highlight search results when the query contains both keywords
and constraints?

I'm using the search API and have defined constraints in the options
node I pass with my search.  I have a custom transform-results function
that creates the snippet passing the $ctsquery and the desired section
of $results to cts:highlight.  This works fine when my query has only
keywords or when the contraints are ORed with the keywords, but when the
constraints are ANDed (either implicitly or explicitly) my results
contain no highlighting.

I see that the Oscars application result highlighting works when
keywords and constraints are used together.  Any ideas about what I'm
doing wrong?  Thanks.

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

Reply via email to