|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_CmsIndexWriter
Abstracts the index writer implementation for the most important index manipulation operations.
Method Summary | |
---|---|
void |
close()
Close this IndexWriter. |
void |
commit()
Commit all previous operations. |
void |
deleteDocuments(String rootPath)
Delete a document from the index. |
void |
optimize()
Optimizes the index. |
void |
updateDocument(String rootPath,
org.apache.lucene.document.Document document)
Update a document in the index. |
Method Detail |
---|
void close() throws IOException
IOException
void commit() throws IOException
IOException
void deleteDocuments(String rootPath) throws IOException
rootPath
- the root path of the document to delete
IOException
- in case something goes wrongvoid optimize() throws IOException
IOException
void updateDocument(String rootPath, org.apache.lucene.document.Document document) throws IOException
rootPath
- the root path of the document to updatedocument
- the document to update
IOException
- in case something goes wrong
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |