Interface SearchLogEvent


public interface SearchLogEvent
Interface for search log events in the Fess search system. This interface defines the contract for search log event objects that can be written to log files or stored in the search index. Implementations include search logs, click logs, favorite logs, and user information logs.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the type of this search log event.
    Gets the unique identifier for this search log event.
    Gets the version number for this search log event.
    Converts this search log event to a source map for indexing or logging.
  • Method Details

    • getId

      String getId()
      Gets the unique identifier for this search log event.
      Returns:
      The event ID
    • getVersionNo

      Long getVersionNo()
      Gets the version number for this search log event.
      Returns:
      The version number, or null if not versioned
    • toSource

      Map<String,Object> toSource()
      Converts this search log event to a source map for indexing or logging.
      Returns:
      Map representation of the event data
    • getEventType

      String getEventType()
      Gets the type of this search log event.
      Returns:
      The event type (e.g., "search", "click", "favorite", "user_info")