Class ActivitySearchProcessor

java.lang.Object
org.exoplatform.social.core.jpa.search.ActivitySearchProcessor

public class ActivitySearchProcessor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addPlugin(ActivitySearchPlugin activitySearchPlugin)
     
    void
    formatSearchResult(org.exoplatform.social.core.activity.model.ActivitySearchResult activity)
    This is triggered before displaying search result of an activity to enrich or alter an attribute in the result
    void
    index(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, org.exoplatform.commons.search.domain.Document document)
    This is triggered before indexing an activity to enrich or alter an attribute to index

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ActivitySearchProcessor

      public ActivitySearchProcessor()
  • Method Details

    • addPlugin

      public void addPlugin(ActivitySearchPlugin activitySearchPlugin)
    • index

      public void index(org.exoplatform.social.core.activity.model.ExoSocialActivity activity, org.exoplatform.commons.search.domain.Document document)
      This is triggered before indexing an activity to enrich or alter an attribute to index
      Parameters:
      activity - ExoSocialActivity that will be indexed
      document - Document containing properties to index
    • formatSearchResult

      public void formatSearchResult(org.exoplatform.social.core.activity.model.ActivitySearchResult activity)
      This is triggered before displaying search result of an activity to enrich or alter an attribute in the result
      Parameters:
      activity - ActivitySearchResult that will be indexed