Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-search-dev] Need help adding results to the search results view


You didn't mention which build you're programming against. If you are programming against 3.0, I recommend using the new search API. If you are programming for 2.x, you do need a resource, since the API is IMarker based. If you don't have a resource, you will have to fake it, as the Java search does for class files in jars (see JavaSearchResultCollector).

Thomas




Ninad J Agate <agate@xxxxxxxxxx>
Sent by: platform-search-dev-admin@xxxxxxxxxxx

06/02/2004 09:08 PM
Please respond to platform-search-dev

       
        To:        platform-search-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-search-dev] Need help adding results to the search results view




Hi,

I want to add my search page and show the results in the standard results view.

For adding my search results to the view I am doing the following:


SearchUI.activateSearchResultView();

fView = SearchUI.getSearchResultView();

fView.searchstarted(...);


Now I want to call  ISearchResultView.addMatch() but it takes in a IResource.
Can I add results which are not of the type IResource?


Thank you.


Back to the top