public interface IndexWriter extends SpellCheckIndexWriter
Modifier and Type | Method and Description |
---|---|
void |
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) |
clearQuerySuggestionDictionaryIndexes, clearSpellCheckerDictionaryIndexes, indexKeyword, indexQuerySuggestionDictionaries, indexQuerySuggestionDictionary, indexSpellCheckerDictionaries, indexSpellCheckerDictionary
void addDocument(SearchContext searchContext, Document document) throws SearchException
SearchException
void addDocuments(SearchContext searchContext, Collection<Document> documents) throws SearchException
SearchException
void commit(SearchContext searchContext) throws SearchException
SearchException
void deleteDocument(SearchContext searchContext, String uid) throws SearchException
SearchException
void deleteDocuments(SearchContext searchContext, Collection<String> uids) throws SearchException
SearchException
void deleteEntityDocuments(SearchContext searchContext, String className) throws SearchException
SearchException
void partiallyUpdateDocument(SearchContext searchContext, Document document) throws SearchException
SearchException
void partiallyUpdateDocuments(SearchContext searchContext, Collection<Document> documents) throws SearchException
SearchException
void updateDocument(SearchContext searchContext, Document document) throws SearchException
SearchException
void updateDocuments(SearchContext searchContext, Collection<Document> documents) throws SearchException
SearchException