| java.lang.Object org.eclipse.core.indexsearch.SearchEngine
SearchEngine | public class SearchEngine (Code) | | A SearchEngine searches for java elements following a search pattern.
This class may be instantiated; it is not intended to be subclassed.
|
Inner Class :static class MyIndex implements IIndex | |
Field Summary | |
public static int | CANCEL_IF_NOT_READY_TO_SEARCH The search operation throws an org.eclipse.core.runtime.OperationCanceledException
if the underlying indexer has not finished indexing the workspace. | public static int | WAIT_UNTIL_READY_TO_SEARCH The search operation waits for the underlying indexer to finish indexing
the workspace before starting the search. |
CANCEL_IF_NOT_READY_TO_SEARCH | public static int CANCEL_IF_NOT_READY_TO_SEARCH(Code) | | The search operation throws an org.eclipse.core.runtime.OperationCanceledException
if the underlying indexer has not finished indexing the workspace.
|
WAIT_UNTIL_READY_TO_SEARCH | public static int WAIT_UNTIL_READY_TO_SEARCH(Code) | | The search operation waits for the underlying indexer to finish indexing
the workspace before starting the search.
|
getIndex | public IIndex getIndex(IPath indexPath, boolean create)(Code) | | |
remove | public void remove(String resourceName, IPath indexedContainer)(Code) | | Trigger removal of a resource to an index
Note: the actual operation is performed in background
|
search | public void search(IIndexQuery search, ISearchResultCollector resultCollector, IProgressMonitor progressMonitor, int waitingPolicy)(Code) | | Perform the given query against the index and return results via the resultCollector.
|
|
|