com.liferay.portal.kernel.search
Class BaseSearcher
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer
com.liferay.portal.kernel.search.BaseSearcher
- All Implemented Interfaces:
- Indexer
- Direct Known Subclasses:
- FacetedSearcher, FolderSearcher
public abstract class BaseSearcher
- extends BaseIndexer
| Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetSelectedFieldNames, addLocalizedSearchTerm, addRelatedClassNames, addRelatedEntryFields, addSearchArrayQuery, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doReindexDDMStructures, doSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDatabaseCount, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getFacetQuery, getFullQuery, getLocale, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, postProcessContextQuery, postProcessFullQuery, processHits, reindex, reindex, reindex, reindexDDMStructures, resetFullQuery, search, search, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setSortableTextFields, setStagingAware, unregisterIndexerPostProcessor, updateFullQuery |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSearcher
public BaseSearcher()
getIndexerPostProcessors
public IndexerPostProcessor[] getIndexerPostProcessors()
- Specified by:
getIndexerPostProcessors in interface Indexer- Overrides:
getIndexerPostProcessors in class BaseIndexer
getPortletId
public String getPortletId()
postProcessSearchQuery
public void postProcessSearchQuery(BooleanQuery searchQuery,
SearchContext searchContext)
throws Exception
- Specified by:
postProcessSearchQuery in interface Indexer- Overrides:
postProcessSearchQuery in class BaseIndexer
- Throws:
Exception
registerIndexerPostProcessor
public void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
- Specified by:
registerIndexerPostProcessor in interface Indexer- Overrides:
registerIndexerPostProcessor in class BaseIndexer
doDelete
protected void doDelete(Object obj)
throws Exception
- Specified by:
doDelete in class BaseIndexer
- Throws:
Exception
doGetDocument
protected Document doGetDocument(Object obj)
throws Exception
- Specified by:
doGetDocument in class BaseIndexer
- Throws:
Exception
doGetSummary
protected Summary doGetSummary(Document document,
Locale locale,
String snippet,
PortletURL portletURL,
PortletRequest portletRequest,
PortletResponse portletResponse)
throws Exception
- Specified by:
doGetSummary in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(Object obj)
throws Exception
- Specified by:
doReindex in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(String className,
long classPK)
throws Exception
- Specified by:
doReindex in class BaseIndexer
- Throws:
Exception
doReindex
protected void doReindex(String[] ids)
throws Exception
- Specified by:
doReindex in class BaseIndexer
- Throws:
Exception
getPortletId
protected String getPortletId(SearchContext searchContext)
- Specified by:
getPortletId in class BaseIndexer