Notes Client xPages Search Functionality

I have implemented an xPages application on the Notes client, and find that most of the documented search function methods disrupt the look of a view when returning the found documents. For example if the view is categorized, the category data is missing.

Has anybody found a way to develop search functionality that is quite close to the traditional Notes client search?