com.liferay.portal.kernel.search
Interface IndexWriter
- All Known Implementing Classes:
- IndexWriterProxyBean
public interface IndexWriter
- Author:
- Bruno Farache
addDocument
void addDocument(SearchContext searchContext,
Document document)
throws SearchException
- Throws:
SearchException
addDocuments
void addDocuments(SearchContext searchContext,
java.util.Collection<Document> documents)
throws SearchException
- Throws:
SearchException
deleteDocument
void deleteDocument(SearchContext searchContext,
java.lang.String uid)
throws SearchException
- Throws:
SearchException
deleteDocuments
void deleteDocuments(SearchContext searchContext,
java.util.Collection<java.lang.String> uids)
throws SearchException
- Throws:
SearchException
deletePortletDocuments
void deletePortletDocuments(SearchContext searchContext,
java.lang.String portletId)
throws SearchException
- Throws:
SearchException
updateDocument
void updateDocument(SearchContext searchContext,
Document document)
throws SearchException
- Throws:
SearchException
updateDocuments
void updateDocuments(SearchContext searchContext,
java.util.Collection<Document> documents)
throws SearchException
- Throws:
SearchException