public class OrganizationIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
Constructor and Description |
---|
OrganizationIndexer() |
Modifier and Type | Method and Description |
---|---|
protected String |
buildNameTreePath(com.liferay.portal.kernel.model.Organization organization) |
protected void |
doDelete(com.liferay.portal.kernel.model.Organization organization) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.portal.kernel.model.Organization organization) |
protected String |
doGetSortField(String orderByCol) |
protected com.liferay.portal.kernel.search.Summary |
doGetSummary(com.liferay.portal.kernel.search.Document document,
Locale locale,
String snippet,
javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
protected void |
doReindex(com.liferay.portal.kernel.model.Organization organization) |
protected void |
doReindex(String[] ids) |
protected void |
doReindex(String className,
long classPK) |
String |
getClassName() |
void |
postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
void |
postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter,
com.liferay.portal.kernel.search.SearchContext searchContext) |
protected void |
reindexOrganizations(long companyId) |
addAssetFields, addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, addSearchAssetCategoryIds, addSearchAssetCategoryTitles, addSearchAssetTagNames, addSearchClassTypeIds, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchGroupId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, addTrashFields, createFullQuery, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doPostProcessSearchQuery, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getClassNames, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getDocumentContributors, getExpandoFieldName, getExpandoQueryContributors, getFacetBooleanFilter, getFullQuery, getIndexerPostProcessors, getLocale, getLocalizedCountryNames, getPortletId, getPortletId, getSearchClassNames, getSearchEngineId, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSortField, getSummary, getSummary, hashCode, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, isVisibleRelatedEntry, newDocument, populateAddresses, populateMap, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, processHits, registerIndexerPostProcessor, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware, unregisterIndexerPostProcessor
public String getClassName()
public void postProcessContextBooleanFilter(com.liferay.portal.kernel.search.filter.BooleanFilter contextBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
postProcessContextBooleanFilter
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.Organization>
postProcessContextBooleanFilter
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
public void postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery, com.liferay.portal.kernel.search.filter.BooleanFilter fullQueryBooleanFilter, com.liferay.portal.kernel.search.SearchContext searchContext) throws Exception
postProcessSearchQuery
in interface com.liferay.portal.kernel.search.Indexer<com.liferay.portal.kernel.model.Organization>
postProcessSearchQuery
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
protected String buildNameTreePath(com.liferay.portal.kernel.model.Organization organization) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void doDelete(com.liferay.portal.kernel.model.Organization organization) throws Exception
doDelete
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.portal.kernel.model.Organization organization) throws Exception
doGetDocument
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
protected String doGetSortField(String orderByCol)
doGetSortField
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document, Locale locale, String snippet, javax.portlet.PortletRequest portletRequest, javax.portlet.PortletResponse portletResponse)
doGetSummary
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
protected void doReindex(com.liferay.portal.kernel.model.Organization organization) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
protected void doReindex(String className, long classPK) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
protected void doReindex(String[] ids) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Organization>
Exception
protected void reindexOrganizations(long companyId) throws Exception
Exception