com.liferay.portal.kernel.search
Class FolderSearcher
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer
com.liferay.portal.kernel.search.FolderSearcher
- All Implemented Interfaces:
- Indexer
public class FolderSearcher
- extends BaseIndexer
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer |
addAssetFields, addLocalizedSearchTerm, addRelatedClassNames, addRelatedEntryFields, addSearchArrayQuery, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchDDMStruture, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addStagingGroupKeyword, addStatus, addTrashFields, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doReindexDDMStructures, doSearch, filterSearch, getBaseModelDocument, getBaseModelDocument, getClassName, getDocument, getFacetQuery, getFullQuery, getLocalizedCountryNames, getParentGroupId, getSearchEngineId, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isStagingAware, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, reindex, reindex, reindex, reindexDDMStructures, search, setCommitImmediately, setFilterSearch, setIndexerEnabled, setPermissionAware, setSortableTextFields, setStagingAware, unregisterIndexerPostProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAMES
public static final String[] CLASS_NAMES
FolderSearcher
public FolderSearcher()
getInstance
public static Indexer getInstance()
getClassNames
public String[] getClassNames()
getIndexerPostProcessors
public IndexerPostProcessor[] getIndexerPostProcessors()
- Specified by:
getIndexerPostProcessors
in interface Indexer
- Overrides:
getIndexerPostProcessors
in class BaseIndexer
getPortletId
public String getPortletId()
registerIndexerPostProcessor
public void registerIndexerPostProcessor(IndexerPostProcessor indexerPostProcessor)
- Specified by:
registerIndexerPostProcessor
in interface Indexer
- Overrides:
registerIndexerPostProcessor
in class BaseIndexer
createFullQuery
protected BooleanQuery createFullQuery(BooleanQuery contextQuery,
SearchContext searchContext)
throws Exception
- Overrides:
createFullQuery
in class BaseIndexer
- Throws:
Exception
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)
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