Liferay 7.0-ce-m3

com.liferay.portal.kernel.search
Class FacetedSearcher

java.lang.Object
  extended by com.liferay.portal.kernel.search.BaseIndexer
      extended by com.liferay.portal.kernel.search.BaseSearcher
          extended by com.liferay.portal.kernel.search.FacetedSearcher
All Implemented Interfaces:
Indexer

public class FacetedSearcher
extends BaseSearcher


Field Summary
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
FacetedSearcher()
           
 
Method Summary
protected  void addSearchExpandoKeywords(BooleanQuery searchQuery, SearchContext searchContext, String keywords, String className)
           
protected  BooleanQuery createFullQuery(BooleanQuery contextQuery, SearchContext searchContext)
           
protected  Hits doSearch(SearchContext searchContext)
           
 String[] getClassNames()
           
static Indexer getInstance()
           
protected  boolean isUseSearchResultPermissionFilter(SearchContext searchContext)
           
 
Methods inherited from class com.liferay.portal.kernel.search.BaseSearcher
doDelete, doGetDocument, doGetSummary, doReindex, doReindex, doReindex, getIndexerPostProcessors, getPortletId, getPortletId, postProcessSearchQuery, registerIndexerPostProcessor
 
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, createLocalizedSummary, createLocalizedSummary, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doReindexDDMStructures, 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, 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
 

Constructor Detail

FacetedSearcher

public FacetedSearcher()
Method Detail

getInstance

public static Indexer getInstance()

getClassNames

public String[] getClassNames()

addSearchExpandoKeywords

protected void addSearchExpandoKeywords(BooleanQuery searchQuery,
                                        SearchContext searchContext,
                                        String keywords,
                                        String className)
                                 throws Exception
Throws:
Exception

createFullQuery

protected BooleanQuery createFullQuery(BooleanQuery contextQuery,
                                       SearchContext searchContext)
                                throws Exception
Overrides:
createFullQuery in class BaseIndexer
Throws:
Exception

doSearch

protected Hits doSearch(SearchContext searchContext)
                 throws SearchException
Overrides:
doSearch in class BaseIndexer
Throws:
SearchException

isUseSearchResultPermissionFilter

protected boolean isUseSearchResultPermissionFilter(SearchContext searchContext)
Overrides:
isUseSearchResultPermissionFilter in class BaseIndexer

Liferay 7.0-ce-m3