Liferay 7.0-ce-b4

com.liferay.portlet.asset.util
Class AssetSearcher

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer<Object>
      extended by com.liferay.portal.kernel.search.BaseSearcher
          extended by com.liferay.portlet.asset.util.AssetSearcher
All Implemented Interfaces:
Indexer<Object>

public class AssetSearcher
extends BaseSearcher


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
AssetSearcher()
           
 
Method Summary
protected  void addImpossibleTerm(BooleanFilter queryBooleanFilter, String field)
           
protected  void addSearchAllCategories(BooleanFilter queryBooleanFilter)
           
protected  void addSearchAllTags(BooleanFilter queryBooleanFilter)
           
protected  void addSearchAnyCategories(BooleanFilter queryBooleanFilter)
           
protected  void addSearchAnyTags(BooleanFilter queryBooleanFilter)
           
protected  void addSearchAssetCategoryIds(BooleanFilter queryBooleanFilter, SearchContext searchContext)
           
protected  void addSearchAssetTagNames(BooleanFilter queryBooleanFilter, SearchContext searchContext)
           
protected  Map<String,Query> addSearchKeywords(BooleanQuery searchQuery, SearchContext searchContext)
           
protected  void addSearchLayout(BooleanFilter queryBooleanFilter, SearchContext searchContext)
           
protected  void addSearchNotAllCategories(BooleanFilter queryBooleanFilter)
           
protected  void addSearchNotAllTags(BooleanFilter queryBooleanFilter)
           
protected  void addSearchNotAnyCategories(BooleanFilter queryBooleanFilter)
           
protected  void addSearchNotAnyTags(BooleanFilter queryBooleanFilter)
           
static Indexer<?> getInstance()
           
 String[] getSearchClassNames()
           
protected  void postProcessFullQuery(BooleanQuery fullQuery, SearchContext searchContext)
           
 void setAssetEntryQuery(AssetEntryQuery assetEntryQuery)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseSearcher
doDelete, doGetDocument, doGetSummary, doPostProcessSearchQuery, doReindex, doReindex, doReindex, getClassName, getIndexerPostProcessors, postProcessSearchQuery, registerIndexerPostProcessor
 
Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, 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, 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetSearcher

public AssetSearcher()
Method Detail

getInstance

public static Indexer<?> getInstance()

getSearchClassNames

public String[] getSearchClassNames()
Specified by:
getSearchClassNames in interface Indexer<Object>
Overrides:
getSearchClassNames in class BaseIndexer<Object>

setAssetEntryQuery

public void setAssetEntryQuery(AssetEntryQuery assetEntryQuery)

addImpossibleTerm

protected void addImpossibleTerm(BooleanFilter queryBooleanFilter,
                                 String field)
                          throws Exception
Throws:
Exception

addSearchAllCategories

protected void addSearchAllCategories(BooleanFilter queryBooleanFilter)
                               throws Exception
Throws:
Exception

addSearchAllTags

protected void addSearchAllTags(BooleanFilter queryBooleanFilter)
                         throws Exception
Throws:
Exception

addSearchAnyCategories

protected void addSearchAnyCategories(BooleanFilter queryBooleanFilter)
                               throws Exception
Throws:
Exception

addSearchAnyTags

protected void addSearchAnyTags(BooleanFilter queryBooleanFilter)
                         throws Exception
Throws:
Exception

addSearchAssetCategoryIds

protected void addSearchAssetCategoryIds(BooleanFilter queryBooleanFilter,
                                         SearchContext searchContext)
                                  throws Exception
Overrides:
addSearchAssetCategoryIds in class BaseIndexer<Object>
Throws:
Exception

addSearchAssetTagNames

protected void addSearchAssetTagNames(BooleanFilter queryBooleanFilter,
                                      SearchContext searchContext)
                               throws Exception
Overrides:
addSearchAssetTagNames in class BaseIndexer<Object>
Throws:
Exception

addSearchKeywords

protected Map<String,Query> addSearchKeywords(BooleanQuery searchQuery,
                                              SearchContext searchContext)
                                       throws Exception
Overrides:
addSearchKeywords in class BaseIndexer<Object>
Throws:
Exception

addSearchLayout

protected void addSearchLayout(BooleanFilter queryBooleanFilter,
                               SearchContext searchContext)
                        throws Exception
Overrides:
addSearchLayout in class BaseIndexer<Object>
Throws:
Exception

addSearchNotAllCategories

protected void addSearchNotAllCategories(BooleanFilter queryBooleanFilter)
                                  throws Exception
Throws:
Exception

addSearchNotAllTags

protected void addSearchNotAllTags(BooleanFilter queryBooleanFilter)
                            throws Exception
Throws:
Exception

addSearchNotAnyCategories

protected void addSearchNotAnyCategories(BooleanFilter queryBooleanFilter)
                                  throws Exception
Throws:
Exception

addSearchNotAnyTags

protected void addSearchNotAnyTags(BooleanFilter queryBooleanFilter)
                            throws Exception
Throws:
Exception

postProcessFullQuery

protected void postProcessFullQuery(BooleanQuery fullQuery,
                                    SearchContext searchContext)
                             throws Exception
Overrides:
postProcessFullQuery in class BaseIndexer<Object>
Throws:
Exception

Liferay 7.0-ce-b4