|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a Lucene index for one locale. The interface is used to allow participants to delegate indexing of documents outside of the TOC using the same algorithms as those in TOC.
Method Summary | |
---|---|
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. |
Method Detail |
public 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 document
public String getLocale()
|
Eclipse Platform Release 3.2 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.