![]() Is there good ways to make dtSearch highlight phrases this way? ![]() This would A) make highlighting look better, B) improve behavior of my javascript that helps users navigate from hit to hit, and C) give more accurate counts of total # hits. Instead, I would like phrases to get highlighted as whole units, like this: Note that each word of the phrase is highlighted separately. Then dtSearch will do hit highlighting like this:Īn audit trail is a fun thing to have an audit trail about! If I give dtSearch a quoted phrase query like String myHighlightedDoc = fileConverter.OutputString Sj.FoldersToSearch.Add(path_to_src_document) įileConverter fileConverter = new FileConverter() įileConverter.SetInputItem(sj.Results, 0) Sj.Request = "\"audit trail\"" // the user query The code to do this, minus some details and cleanup, is roughly along these lines: SearchJob sj = new SearchJob() ![]() I'm using dtSearch to highlight text search matches within a document. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |