com.liferay.portal.kernel.search
Interface IndexWriter
public interface IndexWriter
View Source
- Author:
- Bruno Farache
addDocument
void addDocument(long companyId,
Document document)
throws SearchException
- Throws:
SearchException
addDocuments
void addDocuments(long companyId,
java.util.Collection<Document> documents)
throws SearchException
- Throws:
SearchException
deleteDocument
void deleteDocument(long companyId,
java.lang.String uid)
throws SearchException
- Throws:
SearchException
deleteDocuments
void deleteDocuments(long companyId,
java.util.Collection<java.lang.String> uids)
throws SearchException
- Throws:
SearchException
deletePortletDocuments
void deletePortletDocuments(long companyId,
java.lang.String portletId)
throws SearchException
- Throws:
SearchException
updateDocument
void updateDocument(long companyId,
Document document)
throws SearchException
- Throws:
SearchException
updateDocuments
void updateDocuments(long companyId,
java.util.Collection<Document> documents)
throws SearchException
- Throws:
SearchException