IndexWriterHelperUtil,
IndexSearcherHelperUtil, SearchEngineHelperUtil@Deprecated public class SearchEngineUtil extends SearchEngineHelperUtil
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERIC_ENGINE_ID
Deprecated.
|
static String |
SYSTEM_ENGINE_ID
Deprecated.
|
| Constructor and Description |
|---|
SearchEngineUtil()
Deprecated.
|
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)