Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Platform
Release 3.5
Interface ISearchEngineResultCollector

public interface ISearchEngineResultCollector

A collector for the search hits (asynchronously) returned by the help search participants.

This interface is intended to be implemented by clients and passed to the search engine instance.


Method Summary
 void accept ( ISearchEngineResult searchResult)
          Accepts a new search result object.
 void accept ( ISearchEngineResult[] searchResults)
          Accepts an array of new search results.
 void error ( IStatus status)
          Notifies the collector that an error has occured in the search engine.

Method Detail


void accept(
ISearchEngineResult searchResult)
Accepts a new search result object.

searchResult - the new search result


void accept(
ISearchEngineResult[] searchResults)
Accepts an array of new search results.

searchResults - an array of search result objects


void error(
IStatus status)
Notifies the collector that an error has occured in the search engine. The kinds of errors that are reported this way are not abnormal problems or internal errors. Unexpected problems should be left to the job manager to handle by throwing a CoreException. Use this method to report errors that are expected to occur from time to time (e.g., server down, server timeout, incorrect URL etc.).

status - the reported error status

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire