Class TestIndexer

java.lang.Object
com.liferay.portal.kernel.search.BaseIndexer<Object>
com.liferay.portal.search.test.util.TestIndexer
All Implemented Interfaces:
com.liferay.portal.kernel.search.Indexer<Object>

public class TestIndexer extends com.liferay.portal.kernel.search.BaseIndexer<Object>
  • Field Summary

    Fields inherited from interface com.liferay.portal.kernel.search.Indexer

    DEFAULT_INTERVAL
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestIndexer(String className)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doDelete(Object object)
     
    protected com.liferay.portal.kernel.search.Document
     
    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(Object object)
     
    protected void
     
    protected void
    doReindex(String className, long classPK)
     
     

    Methods inherited from class com.liferay.portal.kernel.search.BaseIndexer

    addDefaultHighlightFieldNames, addDefaultSelectedFieldNames, addFacetClause, addFacetSelectedFieldNames, addLocalizedField, addSearchAssetCategoryIds, addSearchAssetTagNames, addSearchClassTypeIds, addSearchEntryClassNames, addSearchExpando, addSearchFolderId, addSearchKeywords, addSearchLayout, addSearchLocalizedTerm, addSearchTerm, addSearchUserId, addSelectedLocalizedFieldNames, addStagingGroupKeyword, addStatus, createFullQuery, createSummary, createSummary, delete, delete, deleteDocument, deleteDocument, deleteDocument, deleteDocument, doGetSortField, doPostProcessSearchQuery, doSearch, equals, getBaseModelDocument, getBaseModelDocument, getClassName, getDefaultSelectedFieldNames, getDefaultSelectedLocalizedFieldNames, getDocument, getExpandoFieldName, getExpandoQueryContributors, getFacetBooleanFilter, getFullQuery, getIndexerPostProcessors, getLocale, getLocalizedCountryNames, getSearchClassNames, getSiteGroup, getSiteGroupId, getSnippetLocale, getSortField, getSummary, hashCode, hasPermission, isCommitImmediately, isFilterSearch, isIndexerEnabled, isPermissionAware, isSelectAllLocales, isStagingAware, isStagingGroup, isUseSearchResultPermissionFilter, isVisible, isVisible, newDocument, populateAddresses, populateMap, postProcessContextBooleanFilter, postProcessContextQuery, postProcessFullQuery, postProcessSearchQuery, postProcessSearchQuery, processHits, reindex, reindex, reindex, reindex, resetFullQuery, search, search, searchCount, setCommitImmediately, setDefaultSelectedFieldNames, setDefaultSelectedLocalizedFieldNames, setFilterSearch, setIndexerEnabled, setPermissionAware, setSelectAllLocales, setStagingAware

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.search.Indexer

    getCompanyId, getSummary, reindex
  • Constructor Details

    • TestIndexer

      public TestIndexer(String className)
  • Method Details

    • getClassName

      public String getClassName()
    • doDelete

      protected void doDelete(Object object)
      Specified by:
      doDelete in class com.liferay.portal.kernel.search.BaseIndexer<Object>
    • doGetDocument

      protected com.liferay.portal.kernel.search.Document doGetDocument(Object object)
      Specified by:
      doGetDocument in class com.liferay.portal.kernel.search.BaseIndexer<Object>
    • doGetSummary

      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)
      Specified by:
      doGetSummary in class com.liferay.portal.kernel.search.BaseIndexer<Object>
    • doReindex

      protected void doReindex(Object object)
      Specified by:
      doReindex in class com.liferay.portal.kernel.search.BaseIndexer<Object>
    • doReindex

      protected void doReindex(String className, long classPK)
      Specified by:
      doReindex in class com.liferay.portal.kernel.search.BaseIndexer<Object>
    • doReindex

      protected void doReindex(String[] ids)
      Specified by:
      doReindex in class com.liferay.portal.kernel.search.BaseIndexer<Object>