What dictates term colors in WLN documents?

I am looking at iPad bug 221822 which has to do with both global (should be yellow) and search within a document (should be green) terms colored GREEN after a scenario like Search->Open Doc->Search Within Doc->Doc Link->Back on the iPad app. What dictates what color terms should eventually be? If it's that a css class is applied per color, what determines which class should be applied to which elements? Who/which vertical adds the CSS classes?

Best Answer

  • I have solved this issue. We were incorrectly calling the non-list fulltext document endpoint, where we needed to call the list fulltext endpoint to get the correct markup. Document takes Novus's N-Hit markup and changes it into co_term, co_searchWithinTerm, etc, and in this case that markup was coming back incorrect.

Answers