public abstract class BaseSearcher extends BaseIndexer<java.lang.Object>
DEFAULT_INTERVAL| Constructor and Description |
|---|
BaseSearcher() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDelete(java.lang.Object obj) |
protected Document |
doGetDocument(java.lang.Object obj) |
protected Summary |
doGetSummary(Document document,
java.util.Locale locale,
java.lang.String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
doPostProcessSearchQuery(Indexer<?> indexer,
BooleanQuery searchQuery,
SearchContext searchContext)
Deprecated.
As of 7.0.0, added strictly to support backwards
compatibility of
Indexer.postProcessSearchQuery(BooleanQuery, SearchContext) |
protected void |
doReindex(java.lang.Object obj) |
protected void |
doReindex(java.lang.String[] ids) |
protected void |
doReindex(java.lang.String className,
long classPK) |
java.lang.String |
getClassName() |
IndexerPostProcessor[] |
getIndexerPostProcessors() |
void |
postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext) |
void |
registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor) |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getFacetBooleanFilter, getFullQuery, getLocale, getLocalizedCountryNames, getPortletId, getPortletId, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextBooleanFilter, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessorpublic java.lang.String getClassName()
public IndexerPostProcessor[] getIndexerPostProcessors()
getIndexerPostProcessors in interface Indexer<java.lang.Object>getIndexerPostProcessors in class BaseIndexer<java.lang.Object>public void postProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext) throws java.lang.Exception
postProcessSearchQuery in interface Indexer<java.lang.Object>postProcessSearchQuery in class BaseIndexer<java.lang.Object>java.lang.Exceptionpublic void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
registerIndexerPostProcessor in interface Indexer<java.lang.Object>registerIndexerPostProcessor in class BaseIndexer<java.lang.Object>protected void doDelete(java.lang.Object obj)
throws java.lang.Exception
doDelete in class BaseIndexer<java.lang.Object>java.lang.Exceptionprotected Document doGetDocument(java.lang.Object obj) throws java.lang.Exception
doGetDocument in class BaseIndexer<java.lang.Object>java.lang.Exceptionprotected Summary doGetSummary(Document document, java.util.Locale locale, java.lang.String snippet, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse) throws java.lang.Exception
doGetSummary in class BaseIndexer<java.lang.Object>java.lang.Exception@Deprecated protected void doPostProcessSearchQuery(Indexer<?> indexer, BooleanQuery searchQuery, SearchContext searchContext) throws java.lang.Exception
Indexer.postProcessSearchQuery(BooleanQuery, SearchContext)doPostProcessSearchQuery in class BaseIndexer<java.lang.Object>java.lang.Exceptionprotected void doReindex(java.lang.Object obj)
throws java.lang.Exception
doReindex in class BaseIndexer<java.lang.Object>java.lang.Exceptionprotected void doReindex(java.lang.String className,
long classPK)
throws java.lang.Exception
doReindex in class BaseIndexer<java.lang.Object>java.lang.Exceptionprotected void doReindex(java.lang.String[] ids)
throws java.lang.Exception
doReindex in class BaseIndexer<java.lang.Object>java.lang.Exception