How to display retrieved documents with hits highlighted
To display a retrieved document with hits highlighted, the dtSearch Engine provides APIs that can convert documents to easily-displayed formats (HTML, RTF, or text) with caller-supplied highlight markings around the hits.
To highlight hits in a document, dtSearch needs the following information:
When highlighting hits in a document retrieved from a search, use FileConverter.SetInputItem() to transfer all document properties from search results to the FileConverter in one step, eliminating the need to set items (1) through (4) individually.
For information on highlighting hits in specific formats, see:
Highlighting hits in HTML files
Highlighting hits in PDF files
Highlighting hits in XML files
For information on implementing hit navigation, see:
|
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.
|