Package com.liferay.portal.kernel.search
Interface IndexWriter
- All Superinterfaces:
SpellCheckIndexWriter
- All Known Implementing Classes:
BaseIndexWriter
,DummyIndexWriter
- Author:
- Bruno Farache
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDocument
(SearchContext searchContext, Document document) void
addDocuments
(SearchContext searchContext, Collection<Document> documents) void
commit
(SearchContext searchContext) void
deleteDocument
(SearchContext searchContext, String uid) void
deleteDocuments
(SearchContext searchContext, Collection<String> uids) void
deleteEntityDocuments
(SearchContext searchContext, String className) void
partiallyUpdateDocument
(SearchContext searchContext, Document document) void
partiallyUpdateDocuments
(SearchContext searchContext, Collection<Document> documents) void
updateDocument
(SearchContext searchContext, Document document) void
updateDocuments
(SearchContext searchContext, Collection<Document> documents) Methods inherited from interface com.liferay.portal.kernel.search.suggest.SpellCheckIndexWriter
clearQuerySuggestionDictionaryIndexes, clearSpellCheckerDictionaryIndexes, indexKeyword, indexQuerySuggestionDictionaries, indexQuerySuggestionDictionary, indexSpellCheckerDictionaries, indexSpellCheckerDictionary
-
Method Details
-
addDocument
- Throws:
SearchException
-
addDocuments
void addDocuments(SearchContext searchContext, Collection<Document> documents) throws SearchException - Throws:
SearchException
-
commit
- Throws:
SearchException
-
deleteDocument
- Throws:
SearchException
-
deleteDocuments
- Throws:
SearchException
-
deleteEntityDocuments
- Throws:
SearchException
-
partiallyUpdateDocument
- Throws:
SearchException
-
partiallyUpdateDocuments
void partiallyUpdateDocuments(SearchContext searchContext, Collection<Document> documents) throws SearchException - Throws:
SearchException
-
updateDocument
- Throws:
SearchException
-
updateDocuments
void updateDocuments(SearchContext searchContext, Collection<Document> documents) throws SearchException - Throws:
SearchException
-