com.liferay.portal.search.lucene
Class LuceneIndexWriterImpl
java.lang.Object
com.liferay.portal.search.lucene.LuceneIndexWriterImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.IndexWriter
public class LuceneIndexWriterImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.search.IndexWriter
View Source
- Author:
- Bruno Farache, Brian Wing Shun Chan, Allen Chiang, Alex Wallace
Method Summary |
void |
addDocument(long companyId,
com.liferay.portal.kernel.search.Document doc)
|
void |
deleteDocument(long companyId,
java.lang.String uid)
|
void |
deletePortletDocuments(long companyId,
java.lang.String portletId)
|
void |
updateDocument(long companyId,
java.lang.String uid,
com.liferay.portal.kernel.search.Document doc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneIndexWriterImpl
public LuceneIndexWriterImpl()
addDocument
public void addDocument(long companyId,
com.liferay.portal.kernel.search.Document doc)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
addDocument
in interface com.liferay.portal.kernel.search.IndexWriter
- Throws:
com.liferay.portal.kernel.search.SearchException
deleteDocument
public void deleteDocument(long companyId,
java.lang.String uid)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
deleteDocument
in interface com.liferay.portal.kernel.search.IndexWriter
- Throws:
com.liferay.portal.kernel.search.SearchException
deletePortletDocuments
public void deletePortletDocuments(long companyId,
java.lang.String portletId)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
deletePortletDocuments
in interface com.liferay.portal.kernel.search.IndexWriter
- Throws:
com.liferay.portal.kernel.search.SearchException
updateDocument
public void updateDocument(long companyId,
java.lang.String uid,
com.liferay.portal.kernel.search.Document doc)
throws com.liferay.portal.kernel.search.SearchException
- Specified by:
updateDocument
in interface com.liferay.portal.kernel.search.IndexWriter
- Throws:
com.liferay.portal.kernel.search.SearchException