com.liferay.portal.search.lucene
Class LuceneIndexWriterImpl
java.lang.Object
com.liferay.portal.search.lucene.LuceneIndexWriterImpl
- All Implemented Interfaces:
- IndexWriter
public class LuceneIndexWriterImpl
- extends Object
- implements IndexWriter
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,
Document document)
throws SearchException
- Specified by:
addDocument
in interface IndexWriter
- Throws:
SearchException
addDocuments
public void addDocuments(long companyId,
Collection<Document> documents)
throws SearchException
- Specified by:
addDocuments
in interface IndexWriter
- Throws:
SearchException
deleteDocument
public void deleteDocument(long companyId,
String uid)
throws SearchException
- Specified by:
deleteDocument
in interface IndexWriter
- Throws:
SearchException
deleteDocuments
public void deleteDocuments(long companyId,
Collection<String> uids)
throws SearchException
- Specified by:
deleteDocuments
in interface IndexWriter
- Throws:
SearchException
deletePortletDocuments
public void deletePortletDocuments(long companyId,
String portletId)
throws SearchException
- Specified by:
deletePortletDocuments
in interface IndexWriter
- Throws:
SearchException
updateDocument
public void updateDocument(long companyId,
Document document)
throws SearchException
- Specified by:
updateDocument
in interface IndexWriter
- Throws:
SearchException
updateDocuments
public void updateDocuments(long companyId,
Collection<Document> documents)
throws SearchException
- Specified by:
updateDocuments
in interface IndexWriter
- Throws:
SearchException