Jérôme Deniau commented on Mar 26, 2008

Performance improvement for accessing documents through viewentries

You can also use NotewView.FTSearach if the view is indexed.

Jérôme Deniau commented on Mar 26, 2008

Performance improvement for accessing documents through viewentries

NotesViewEntry is equivalent to using dblookup, so you need to compare it to the use of notesView.getdocumentByKey which is not great for searching in a view.

To verify the performance of each method, you can create agents, activate profiling for agents, run them and analyse the profiling result.

In your case you already know what to search (the UNID of the document).