public abstract class BaseSearcher extends BaseIndexer<Object>
DEFAULT_INTERVAL
Constructor and Description |
---|
BaseSearcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(Object obj) |
protected Document |
doGetDocument(Object obj) |
protected Summary |
doGetSummary(Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse) |
protected void |
doPostProcessSearchQuery(Indexer<?> indexer,
BooleanQuery searchQuery,
SearchContext searchContext)
Deprecated.
As of Wilberforce (7.0.x), added strictly to support
backwards compatibility of
Indexer.postProcessSearchQuery(BooleanQuery, SearchContext) |
protected void |
doReindex(Object obj) |
protected void |
doReindex(String[] ids) |
protected void |
doReindex(String className,
long classPK) |
String |
getClassName() |
IndexerPostProcessor[] |
getIndexerPostProcessors() |
void |
postProcessSearchQuery(BooleanQuery searchQuery,
BooleanFilter fullQueryBooleanFilter,
SearchContext searchContext) |
void |
registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor) |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, 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, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getExpandoQueryContributors, getFacetBooleanFilter, getFullQuery, getLocale, getLocalizedCountryNames, getPortletId, getPortletId, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hashCode, 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, unregisterIndexerPostProcessor
public String getClassName()
public IndexerPostProcessor[] getIndexerPostProcessors()
getIndexerPostProcessors
in interface Indexer<Object>
getIndexerPostProcessors
in class BaseIndexer<Object>
public void postProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext) throws Exception
postProcessSearchQuery
in interface Indexer<Object>
postProcessSearchQuery
in class BaseIndexer<Object>
Exception
public void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
registerIndexerPostProcessor
in interface Indexer<Object>
registerIndexerPostProcessor
in class BaseIndexer<Object>
protected void doDelete(Object obj) throws Exception
doDelete
in class BaseIndexer<Object>
Exception
protected Document doGetDocument(Object obj) throws Exception
doGetDocument
in class BaseIndexer<Object>
Exception
protected Summary doGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse) throws Exception
doGetSummary
in class BaseIndexer<Object>
Exception
@Deprecated protected void doPostProcessSearchQuery(Indexer<?> indexer, BooleanQuery searchQuery, SearchContext searchContext) throws Exception
Indexer.postProcessSearchQuery(BooleanQuery, SearchContext)
doPostProcessSearchQuery
in class BaseIndexer<Object>
Exception
protected void doReindex(Object obj) throws Exception
doReindex
in class BaseIndexer<Object>
Exception
protected void doReindex(String className, long classPK) throws Exception
doReindex
in class BaseIndexer<Object>
Exception
protected void doReindex(String[] ids) throws Exception
doReindex
in class BaseIndexer<Object>
Exception