Presenting a document from the search result

Once a result set has been created, individual documents from that set may be presented, i.e., displayed. Currently SampleApp writes the document text to standard out after highlighting query terms found within document data elements of type DeHtml or DeString. Highlighting is currently defined (see SampleApp.prepareDocPresent()) as enclosing the matching terms with HTML "em" tags. The highlighted text is also written to a file called tmp.html, which can be viewed with a browser.


National Institute of Standards and Technology Home Last updated: Tuesday, 01-Aug-2000 08:34:33 EDT

Date created: Monday, 31-Jul-00
For further information contact Paul Over (over@nist.gov) with
copy to Darrin Dimmick (ddimmick@nist.gov)