@ProviderType
public interface IndexWriterHelper
Modifier and Type | Method and Description |
---|---|
void |
addDocument(String searchEngineId,
long companyId,
Document document,
boolean commitImmediately) |
void |
addDocuments(String searchEngineId,
long companyId,
Collection<Document> documents,
boolean commitImmediately) |
void |
commit(String searchEngineId) |
void |
commit(String searchEngineId,
long companyId) |
void |
deleteDocument(String searchEngineId,
long companyId,
String uid,
boolean commitImmediately) |
void |
deleteDocuments(String searchEngineId,
long companyId,
Collection<String> uids,
boolean commitImmediately) |
void |
deleteEntityDocuments(String searchEngineId,
long companyId,
String className,
boolean commitImmediately) |
int |
getReindexTaskCount(long groupId,
boolean completed) |
void |
indexKeyword(long companyId,
String querySuggestion,
float weight,
String keywordType,
Locale locale) |
void |
indexKeyword(String searchEngineId,
long companyId,
String querySuggestion,
float weight,
String keywordType,
Locale locale) |
void |
indexQuerySuggestionDictionaries(long companyId) |
void |
indexQuerySuggestionDictionaries(String searchEngineId,
long companyId) |
void |
indexQuerySuggestionDictionary(long companyId,
Locale locale) |
void |
indexQuerySuggestionDictionary(String searchEngineId,
long companyId,
Locale locale) |
void |
indexSpellCheckerDictionaries(long companyId) |
void |
indexSpellCheckerDictionaries(String searchEngineId,
long companyId) |
void |
indexSpellCheckerDictionary(long companyId,
Locale locale) |
void |
indexSpellCheckerDictionary(String searchEngineId,
long companyId,
Locale locale) |
boolean |
isIndexReadOnly()
Deprecated.
As of Wilberforce (7.0.x), replaced by
isIndexReadOnly |
void |
partiallyUpdateDocument(String searchEngineId,
long companyId,
Document document,
boolean commitImmediately) |
void |
partiallyUpdateDocuments(String searchEngineId,
long companyId,
Collection<Document> documents,
boolean commitImmediately) |
BackgroundTask |
reindex(long userId,
String jobName,
long[] companyIds,
Map<String,Serializable> taskContextMap) |
BackgroundTask |
reindex(long userId,
String jobName,
long[] companyIds,
String className,
Map<String,Serializable> taskContextMap) |
void |
setIndexReadOnly(boolean indexReadOnly)
Deprecated.
As of Wilberforce (7.0.x), replaced by
setIndexReadOnly(boolean) |
void |
updateDocument(String searchEngineId,
long companyId,
Document document,
boolean commitImmediately) |
void |
updateDocuments(String searchEngineId,
long companyId,
Collection<Document> documents,
boolean commitImmediately) |
void |
updatePermissionFields(String name,
String primKey) |
void addDocument(String searchEngineId, long companyId, Document document, boolean commitImmediately) throws SearchException
SearchException
void addDocuments(String searchEngineId, long companyId, Collection<Document> documents, boolean commitImmediately) throws SearchException
SearchException
void commit(String searchEngineId) throws SearchException
SearchException
void commit(String searchEngineId, long companyId) throws SearchException
SearchException
void deleteDocument(String searchEngineId, long companyId, String uid, boolean commitImmediately) throws SearchException
SearchException
void deleteDocuments(String searchEngineId, long companyId, Collection<String> uids, boolean commitImmediately) throws SearchException
SearchException
void deleteEntityDocuments(String searchEngineId, long companyId, String className, boolean commitImmediately) throws SearchException
SearchException
int getReindexTaskCount(long groupId, boolean completed) throws SearchException
SearchException
void indexKeyword(long companyId, String querySuggestion, float weight, String keywordType, Locale locale) throws SearchException
SearchException
void indexKeyword(String searchEngineId, long companyId, String querySuggestion, float weight, String keywordType, Locale locale) throws SearchException
SearchException
void indexQuerySuggestionDictionaries(long companyId) throws SearchException
SearchException
void indexQuerySuggestionDictionaries(String searchEngineId, long companyId) throws SearchException
SearchException
void indexQuerySuggestionDictionary(long companyId, Locale locale) throws SearchException
SearchException
void indexQuerySuggestionDictionary(String searchEngineId, long companyId, Locale locale) throws SearchException
SearchException
void indexSpellCheckerDictionaries(long companyId) throws SearchException
SearchException
void indexSpellCheckerDictionaries(String searchEngineId, long companyId) throws SearchException
SearchException
void indexSpellCheckerDictionary(long companyId, Locale locale) throws SearchException
SearchException
void indexSpellCheckerDictionary(String searchEngineId, long companyId, Locale locale) throws SearchException
SearchException
@Deprecated boolean isIndexReadOnly()
isIndexReadOnly
void partiallyUpdateDocument(String searchEngineId, long companyId, Document document, boolean commitImmediately) throws SearchException
SearchException
void partiallyUpdateDocuments(String searchEngineId, long companyId, Collection<Document> documents, boolean commitImmediately) throws SearchException
SearchException
BackgroundTask reindex(long userId, String jobName, long[] companyIds, Map<String,Serializable> taskContextMap) throws SearchException
SearchException
BackgroundTask reindex(long userId, String jobName, long[] companyIds, String className, Map<String,Serializable> taskContextMap) throws SearchException
SearchException
@Deprecated void setIndexReadOnly(boolean indexReadOnly)
setIndexReadOnly(boolean)
void updateDocument(String searchEngineId, long companyId, Document document, boolean commitImmediately) throws SearchException
SearchException
void updateDocuments(String searchEngineId, long companyId, Collection<Document> documents, boolean commitImmediately) throws SearchException
SearchException
void updatePermissionFields(String name, String primKey)