public interface ISearchIndex
| Modifier and Type | Method and Description |
|---|---|
IStatus |
addDocument(String pluginId,
String name,
URL url,
String id,
org.apache.lucene.document.Document doc)
Adds a document to the search index by parsing it using one of the file-based search
participants, or the default HTML search participant.
|
String |
getLocale()
A search index is created for each locale.
|
IStatus addDocument(String pluginId, String name, URL url, String id, org.apache.lucene.document.Document doc)
pluginId - the id of the contributing plug-inname - the name of the documenturl - the URL of the document using format '/pluginId/href'id - the unique id of this document as defined in the participantdoc - the Lucene documentString getLocale()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.