IndexWriterHelperUtil, IndexSearcherHelperUtil,
SearchEngineHelperUtil
@Deprecated public class SearchEngineUtil extends SearchEngineHelperUtil
Modifier and Type | Field and Description |
---|---|
static String |
GENERIC_ENGINE_ID
Deprecated.
As of Wilberforce (7.0.x)
|
static String |
SYSTEM_ENGINE_ID
Deprecated.
As of Wilberforce (7.0.x)
|
Constructor and Description |
---|
SearchEngineUtil()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
addDocument(String searchEngineId,
long companyId,
Document document)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.addDocument(String, long, Document,
boolean) |
static void |
addDocument(String searchEngineId,
long companyId,
Document document,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.addDocuments(String, long, Collection,
boolean) |
static void |
addDocuments(String searchEngineId,
long companyId,
Collection<Document> documents)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.addDocuments(String, long, Collection,
boolean) |
static void |
addDocuments(String searchEngineId,
long companyId,
Collection<Document> documents,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.addDocuments(String, long, Collection,
boolean) |
static void |
commit(String searchEngineId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.commit(String) |
static void |
commit(String searchEngineId,
long companyId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.commit(String, long) |
static void |
deleteDocument(String searchEngineId,
long companyId,
String uid)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.deleteDocument(String, long, String,
boolean) |
static void |
deleteDocument(String searchEngineId,
long companyId,
String uid,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.deleteDocument(String, long, String,
boolean) |
static void |
deleteDocuments(String searchEngineId,
long companyId,
Collection<String> uids)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.deleteDocuments(String, long,
Collection, boolean) |
static void |
deleteDocuments(String searchEngineId,
long companyId,
Collection<String> uids,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.deleteDocuments(String, long,
Collection, boolean) |
static void |
deleteEntityDocuments(String searchEngineId,
long companyId,
String className,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.deleteEntityDocuments(String, long,
String, boolean) |
static void |
deletePortletDocuments(String searchEngineId,
long companyId,
String portletId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.deleteEntityDocuments(String, long,
String, boolean) |
static String |
getQueryString(SearchContext searchContext,
Query query)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.getQueryString(SearchContext, Query) |
static void |
indexKeyword(long companyId,
String querySuggestion,
float weight,
String keywordType,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexKeyword(long, String, float,
String, Locale) |
static void |
indexKeyword(String searchEngineId,
long companyId,
String querySuggestion,
float weight,
String keywordType,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexKeyword(String, long, String,
float, String, Locale) |
static void |
indexQuerySuggestionDictionaries(long companyId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexQuerySuggestionDictionaries(long) |
static void |
indexQuerySuggestionDictionaries(String searchEngineId,
long companyId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexQuerySuggestionDictionaries(
String, long) |
static void |
indexQuerySuggestionDictionary(long companyId,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexQuerySuggestionDictionary(long,
Locale) |
static void |
indexQuerySuggestionDictionary(String searchEngineId,
long companyId,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexQuerySuggestionDictionary(String,
long, Locale) |
static void |
indexSpellCheckerDictionaries(long companyId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexSpellCheckerDictionaries(long) |
static void |
indexSpellCheckerDictionaries(String searchEngineId,
long companyId)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexSpellCheckerDictionaries(String,
long) |
static void |
indexSpellCheckerDictionary(long companyId,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexSpellCheckerDictionary(long,
Locale) |
static void |
indexSpellCheckerDictionary(String searchEngineId,
long companyId,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.indexSpellCheckerDictionary(String,
long, Locale) |
static boolean |
isIndexReadOnly()
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.isIndexReadOnly() |
static void |
partiallyUpdateDocument(String searchEngineId,
long companyId,
Document document,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.partiallyUpdateDocument(String, long,
Document, boolean) |
static void |
partiallyUpdateDocuments(String searchEngineId,
long companyId,
Collection<Document> documents,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.partiallyUpdateDocuments(String, long,
Collection, boolean) |
static Hits |
search(SearchContext searchContext,
Query query)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.search(SearchContext, Query) |
static Hits |
search(String searchEngineId,
long companyId,
Query query,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.search(SearchContext, Query) |
static Hits |
search(String searchEngineId,
long companyId,
Query query,
Sort[] sorts,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.search(SearchContext, Query) |
static Hits |
search(String searchEngineId,
long companyId,
Query query,
Sort sort,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.search(SearchContext, Query) |
static long |
searchCount(SearchContext searchContext,
Query query)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.searchCount(SearchContext, Query) |
static void |
setIndexReadOnly(boolean readOnly)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.setIndexReadOnly(boolean) |
static String |
spellCheckKeywords(SearchContext searchContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.spellCheckKeywords(SearchContext) |
static Map<String,List<String>> |
spellCheckKeywords(SearchContext searchContext,
int max)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.spellCheckKeywords(SearchContext,
int) |
static String[] |
suggestKeywordQueries(SearchContext searchContext,
int max)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexSearcherHelperUtil.suggestKeywordQueries(SearchContext,
int) |
static void |
updateDocument(String searchEngineId,
long companyId,
Document document)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.updateDocument(String, long, Document,
boolean) |
static void |
updateDocument(String searchEngineId,
long companyId,
Document document,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.updateDocument(String, long, Document,
boolean) |
static void |
updateDocuments(String searchEngineId,
long companyId,
Collection<Document> documents)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.updateDocuments(String, long,
Collection, boolean) |
static void |
updateDocuments(String searchEngineId,
long companyId,
Collection<Document> documents,
boolean commitImmediately)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.updateDocuments(String, long,
Collection, boolean) |
static void |
updatePermissionFields(String name,
String primKey)
Deprecated.
As of Wilberforce (7.0.x), replaced by
IndexWriterHelperUtil.updatePermissionFields(String, String) |
flushQueuedSearchEngine, flushQueuedSearchEngine, getDefaultSearchEngineId, getEntryClassNames, getSearchEngine, getSearchEngineHelper, getSearchEngineId, getSearchEngineId, getSearchEngineIds, getSearchEngineSilent, getSearchPermissionChecker, getSearchReaderDestinationName, getSearchWriterDestinationName, initialize, removeCompany, removeSearchEngine, setDefaultSearchEngineId, setQueueCapacity, setSearchEngine
@Deprecated public static final String GENERIC_ENGINE_ID
@Deprecated public static final String SYSTEM_ENGINE_ID
@Deprecated public static void addDocument(String searchEngineId, long companyId, Document document) throws SearchException
IndexWriterHelperUtil.addDocument(String, long, Document,
boolean)
SearchException
@Deprecated public static void addDocument(String searchEngineId, long companyId, Document document, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.addDocuments(String, long, Collection,
boolean)
SearchException
@Deprecated public static void addDocuments(String searchEngineId, long companyId, Collection<Document> documents) throws SearchException
IndexWriterHelperUtil.addDocuments(String, long, Collection,
boolean)
SearchException
@Deprecated public static void addDocuments(String searchEngineId, long companyId, Collection<Document> documents, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.addDocuments(String, long, Collection,
boolean)
SearchException
@Deprecated public static void commit(String searchEngineId) throws SearchException
IndexWriterHelperUtil.commit(String)
SearchException
@Deprecated public static void commit(String searchEngineId, long companyId) throws SearchException
IndexWriterHelperUtil.commit(String, long)
SearchException
@Deprecated public static void deleteDocument(String searchEngineId, long companyId, String uid) throws SearchException
IndexWriterHelperUtil.deleteDocument(String, long, String,
boolean)
SearchException
@Deprecated public static void deleteDocument(String searchEngineId, long companyId, String uid, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.deleteDocument(String, long, String,
boolean)
SearchException
@Deprecated public static void deleteDocuments(String searchEngineId, long companyId, Collection<String> uids) throws SearchException
IndexWriterHelperUtil.deleteDocuments(String, long,
Collection, boolean)
SearchException
@Deprecated public static void deleteDocuments(String searchEngineId, long companyId, Collection<String> uids, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.deleteDocuments(String, long,
Collection, boolean)
SearchException
@Deprecated public static void deleteEntityDocuments(String searchEngineId, long companyId, String className, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.deleteEntityDocuments(String, long,
String, boolean)
SearchException
@Deprecated public static void deletePortletDocuments(String searchEngineId, long companyId, String portletId) throws SearchException
IndexWriterHelperUtil.deleteEntityDocuments(String, long,
String, boolean)
SearchException
@Deprecated public static String getQueryString(SearchContext searchContext, Query query)
IndexSearcherHelperUtil.getQueryString(SearchContext, Query)
@Deprecated public static void indexKeyword(long companyId, String querySuggestion, float weight, String keywordType, Locale locale) throws SearchException
IndexWriterHelperUtil.indexKeyword(long, String, float,
String, Locale)
SearchException
@Deprecated public static void indexKeyword(String searchEngineId, long companyId, String querySuggestion, float weight, String keywordType, Locale locale) throws SearchException
IndexWriterHelperUtil.indexKeyword(String, long, String,
float, String, Locale)
SearchException
@Deprecated public static void indexQuerySuggestionDictionaries(long companyId) throws SearchException
IndexWriterHelperUtil.indexQuerySuggestionDictionaries(long)
SearchException
@Deprecated public static void indexQuerySuggestionDictionaries(String searchEngineId, long companyId) throws SearchException
IndexWriterHelperUtil.indexQuerySuggestionDictionaries(
String, long)
SearchException
@Deprecated public static void indexQuerySuggestionDictionary(long companyId, Locale locale) throws SearchException
IndexWriterHelperUtil.indexQuerySuggestionDictionary(long,
Locale)
SearchException
@Deprecated public static void indexQuerySuggestionDictionary(String searchEngineId, long companyId, Locale locale) throws SearchException
IndexWriterHelperUtil.indexQuerySuggestionDictionary(String,
long, Locale)
SearchException
@Deprecated public static void indexSpellCheckerDictionaries(long companyId) throws SearchException
IndexWriterHelperUtil.indexSpellCheckerDictionaries(long)
SearchException
@Deprecated public static void indexSpellCheckerDictionaries(String searchEngineId, long companyId) throws SearchException
IndexWriterHelperUtil.indexSpellCheckerDictionaries(String,
long)
SearchException
@Deprecated public static void indexSpellCheckerDictionary(long companyId, Locale locale) throws SearchException
IndexWriterHelperUtil.indexSpellCheckerDictionary(long,
Locale)
SearchException
@Deprecated public static void indexSpellCheckerDictionary(String searchEngineId, long companyId, Locale locale) throws SearchException
IndexWriterHelperUtil.indexSpellCheckerDictionary(String,
long, Locale)
SearchException
@Deprecated public static boolean isIndexReadOnly()
IndexWriterHelperUtil.isIndexReadOnly()
@Deprecated public static void partiallyUpdateDocument(String searchEngineId, long companyId, Document document, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.partiallyUpdateDocument(String, long,
Document, boolean)
SearchException
@Deprecated public static void partiallyUpdateDocuments(String searchEngineId, long companyId, Collection<Document> documents, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.partiallyUpdateDocuments(String, long,
Collection, boolean)
SearchException
@Deprecated public static Hits search(SearchContext searchContext, Query query) throws SearchException
IndexSearcherHelperUtil.search(SearchContext, Query)
SearchException
@Deprecated public static Hits search(String searchEngineId, long companyId, Query query, int start, int end) throws SearchException
IndexSearcherHelperUtil.search(SearchContext, Query)
SearchException
@Deprecated public static Hits search(String searchEngineId, long companyId, Query query, Sort sort, int start, int end) throws SearchException
IndexSearcherHelperUtil.search(SearchContext, Query)
SearchException
@Deprecated public static Hits search(String searchEngineId, long companyId, Query query, Sort[] sorts, int start, int end) throws SearchException
IndexSearcherHelperUtil.search(SearchContext, Query)
SearchException
@Deprecated public static long searchCount(SearchContext searchContext, Query query) throws SearchException
IndexSearcherHelperUtil.searchCount(SearchContext, Query)
SearchException
@Deprecated public static void setIndexReadOnly(boolean readOnly)
IndexWriterHelperUtil.setIndexReadOnly(boolean)
@Deprecated public static String spellCheckKeywords(SearchContext searchContext) throws SearchException
IndexSearcherHelperUtil.spellCheckKeywords(SearchContext)
SearchException
@Deprecated public static Map<String,List<String>> spellCheckKeywords(SearchContext searchContext, int max) throws SearchException
IndexSearcherHelperUtil.spellCheckKeywords(SearchContext,
int)
SearchException
@Deprecated public static String[] suggestKeywordQueries(SearchContext searchContext, int max) throws SearchException
IndexSearcherHelperUtil.suggestKeywordQueries(SearchContext,
int)
SearchException
@Deprecated public static void updateDocument(String searchEngineId, long companyId, Document document) throws SearchException
IndexWriterHelperUtil.updateDocument(String, long, Document,
boolean)
SearchException
@Deprecated public static void updateDocument(String searchEngineId, long companyId, Document document, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.updateDocument(String, long, Document,
boolean)
SearchException
@Deprecated public static void updateDocuments(String searchEngineId, long companyId, Collection<Document> documents) throws SearchException
IndexWriterHelperUtil.updateDocuments(String, long,
Collection, boolean)
SearchException
@Deprecated public static void updateDocuments(String searchEngineId, long companyId, Collection<Document> documents, boolean commitImmediately) throws SearchException
IndexWriterHelperUtil.updateDocuments(String, long,
Collection, boolean)
SearchException
@Deprecated public static void updatePermissionFields(String name, String primKey)
IndexWriterHelperUtil.updatePermissionFields(String, String)