public class ContactIndexer
extends com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
Constructor and Description |
---|
ContactIndexer() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(com.liferay.portal.kernel.model.Contact contact) |
protected com.liferay.portal.kernel.search.Document |
doGetDocument(com.liferay.portal.kernel.model.Contact contact) |
protected String |
doGetSortField(String orderByCol) |
protected com.liferay.portal.kernel.search.Summary |
doGetSummary(com.liferay.portal.kernel.search.Document document,
Locale locale,
String snippet,
PortletRequest portletRequest,
PortletResponse portletResponse) |
protected void |
doReindex(com.liferay.portal.kernel.model.Contact contact) |
protected void |
doReindex(String[] ids) |
protected void |
doReindex(String className,
long classPK) |
String |
getClassName() |
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 |
reindexContacts(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, getExpandoFieldName, 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, postProcessContextBooleanFilter, 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 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.Contact>
postProcessSearchQuery
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Exception
protected void doDelete(com.liferay.portal.kernel.model.Contact contact) throws Exception
doDelete
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Exception
protected com.liferay.portal.kernel.search.Document doGetDocument(com.liferay.portal.kernel.model.Contact contact) throws Exception
doGetDocument
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Exception
protected String doGetSortField(String orderByCol)
doGetSortField
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
protected com.liferay.portal.kernel.search.Summary doGetSummary(com.liferay.portal.kernel.search.Document document, Locale locale, String snippet, PortletRequest portletRequest, PortletResponse portletResponse)
doGetSummary
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
protected void doReindex(com.liferay.portal.kernel.model.Contact contact) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Exception
protected void doReindex(String className, long classPK) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Exception
protected void doReindex(String[] ids) throws Exception
doReindex
in class com.liferay.portal.kernel.search.BaseIndexer<com.liferay.portal.kernel.model.Contact>
Exception
protected void reindexContacts(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException