com.liferay.portal.kernel.search
Interface IndexWriter
- All Known Implementing Classes:
- IndexWriterImpl, LuceneIndexWriterImpl
public interface IndexWriter
addDocument
void addDocument(long companyId,
Document document)
throws SearchException
- Throws:
SearchException
addDocuments
void addDocuments(long companyId,
Collection<Document> documents)
throws SearchException
- Throws:
SearchException
deleteDocument
void deleteDocument(long companyId,
String uid)
throws SearchException
- Throws:
SearchException
deleteDocuments
void deleteDocuments(long companyId,
Collection<String> uids)
throws SearchException
- Throws:
SearchException
deletePortletDocuments
void deletePortletDocuments(long companyId,
String portletId)
throws SearchException
- Throws:
SearchException
updateDocument
void updateDocument(long companyId,
Document document)
throws SearchException
- Throws:
SearchException
updateDocuments
void updateDocuments(long companyId,
Collection<Document> documents)
throws SearchException
- Throws:
SearchException