public class AssetSearcher
extends com.liferay.portal.kernel.search.BaseSearcher
Constructor and Description |
---|
AssetSearcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
addImpossibleTerm(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter,
String field) |
protected void |
addSearchAllCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchAllTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchAnyCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchAnyTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchAssetCategoryIds(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
addSearchAssetTagNames(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected Map<String,com.liferay.portal.kernel.search.Query> |
addSearchKeywords(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
addSearchLayout(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
addSearchNotAllCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchNotAllTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchNotAnyCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
protected void |
addSearchNotAnyTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) |
static com.liferay.portal.kernel.search.Indexer<?> |
getInstance() |
String[] |
getSearchClassNames() |
protected void |
postProcessFullQuery(com.liferay.portal.kernel.search.BooleanQuery fullQuery,
com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
setAssetEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery assetEntryQuery) |
doDelete, doGetDocument, doGetSummary, doPostProcessSearchQuery, doReindex, doReindex, doReindex, getClassName, getIndexerPostProcessors, postProcessSearchQuery, registerIndexerPostProcessor
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, addSearchAssetCategoryTitles, addSearchClassTypeIds, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, 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, 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, postProcessSearchQuery, processHits, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor
public static com.liferay.portal.kernel.search.Indexer<?> getInstance()
public String[] getSearchClassNames()
getSearchClassNames
in interface com.liferay.portal.kernel.search.Indexer<Object>
getSearchClassNames
in class com.liferay.portal.kernel.search.BaseIndexer<Object>
public void setAssetEntryQuery(com.liferay.asset.kernel.service.persistence.AssetEntryQuery assetEntryQuery)
protected void addImpossibleTerm(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter, String field) throws Exception
Exception
protected void addSearchAllCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchAllTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchAnyCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchAnyTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchAssetCategoryIds(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
addSearchAssetCategoryIds
in class com.liferay.portal.kernel.search.BaseIndexer<Object>
Exception
protected void addSearchAssetTagNames(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
addSearchAssetTagNames
in class com.liferay.portal.kernel.search.BaseIndexer<Object>
Exception
protected Map<String,com.liferay.portal.kernel.search.Query> addSearchKeywords(com.liferay.portal.kernel.search.BooleanQuery searchQuery, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
addSearchKeywords
in class com.liferay.portal.kernel.search.BaseIndexer<Object>
Exception
protected void addSearchLayout(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
addSearchLayout
in class com.liferay.portal.kernel.search.BaseIndexer<Object>
Exception
protected void addSearchNotAllCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchNotAllTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchNotAnyCategories(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void addSearchNotAnyTags(com.liferay.portal.kernel.search.filter.BooleanFilter queryBooleanFilter) throws Exception
Exception
protected void postProcessFullQuery(com.liferay.portal.kernel.search.BooleanQuery fullQuery, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
postProcessFullQuery
in class com.liferay.portal.kernel.search.BaseIndexer<Object>
Exception