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