Package com.liferay.portal.kernel.search
Class BaseSearcher
- Direct Known Subclasses:
FolderSearcher
- Author:
- Eudaldo Alonso, László Csontos
-
Field Summary
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected DocumentdoGetDocument(Object object) protected SummarydoGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse) protected voiddoPostProcessSearchQuery(Indexer<?> indexer, BooleanQuery searchQuery, SearchContext searchContext) Deprecated.protected voidprotected voidprotected voidvoidpostProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext) Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer
addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, addSearchAssetCategoryIds, addSearchAssetTagNames, addSearchClassTypeIds, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, createFullQuery, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getExpandoQueryContributors, getFacetBooleanFilter, getFullQuery, getLocale, getLocalizedCountryNames, getSearchClassNames, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSummary, hashCode, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, newDocument, populateAddresses, populateMap, postProcessContextBooleanFilter, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAwareMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.search.Indexer
getCompanyId, getSummary, reindex
-
Constructor Details
-
BaseSearcher
public BaseSearcher()
-
-
Method Details
-
getClassName
-
getIndexerPostProcessors
- Specified by:
getIndexerPostProcessorsin interfaceIndexer<Object>- Overrides:
getIndexerPostProcessorsin classBaseIndexer<Object>
-
postProcessSearchQuery
public void postProcessSearchQuery(BooleanQuery searchQuery, BooleanFilter fullQueryBooleanFilter, SearchContext searchContext) throws Exception - Specified by:
postProcessSearchQueryin interfaceIndexer<Object>- Overrides:
postProcessSearchQueryin classBaseIndexer<Object>- Throws:
Exception
-
doDelete
- Specified by:
doDeletein classBaseIndexer<Object>- Throws:
Exception
-
doGetDocument
- Specified by:
doGetDocumentin classBaseIndexer<Object>- Throws:
Exception
-
doGetSummary
protected Summary doGetSummary(Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse) throws Exception - Specified by:
doGetSummaryin classBaseIndexer<Object>- Throws:
Exception
-
doPostProcessSearchQuery
@Deprecated protected void doPostProcessSearchQuery(Indexer<?> indexer, BooleanQuery searchQuery, SearchContext searchContext) throws Exception Deprecated.As of Wilberforce (7.0.x), added strictly to support backwards compatibility ofIndexer.postProcessSearchQuery(BooleanQuery, SearchContext)- Overrides:
doPostProcessSearchQueryin classBaseIndexer<Object>- Throws:
Exception
-
doReindex
- Specified by:
doReindexin classBaseIndexer<Object>- Throws:
Exception
-
doReindex
- Specified by:
doReindexin classBaseIndexer<Object>- Throws:
Exception
-
doReindex
- Specified by:
doReindexin classBaseIndexer<Object>- Throws:
Exception
-
Indexer.postProcessSearchQuery(BooleanQuery, SearchContext)