Flag for Search to Return only the Last Revision [was #9183]
The following search fills the respective viewer with one TGO for each revision.
SearchRequest searchRequest = new SearchRequest(); searchRequest.setAllProjects(true); searchRequest .setQueryMetadata("format:\"text/tg.servicedescription+xml\""); allViewer.setInput(searchRequest);
It would be nice if TGSearch could optionally filter out old revisions and return just the latest accessible one.