FeedbackEvent

Feedback event describing user interactions with the search results. The client application can report these events back to the search service to be used for analyzing and improving the search service.

Constructors

Link copied to clipboard
constructor(sessionId: UUID, type: FeedbackEventType, resultId: FeedbackResultId, @IntRange(from = 0) position: Int, actionTime: Date)

Properties

Link copied to clipboard

The time when the user interacted with the result.

Link copied to clipboard

The position of the chosen result in the list shown to the user.

Link copied to clipboard

The ID of the result chosen by the user. There are two types: ApplicationFeedbackResultId and ServiceFeedbackResultId. ApplicationFeedbackResultId can only be used with online feedback. To send offline feedback, create ServiceFeedbackResultId.searchResultId with Source.Offline.

Link copied to clipboard

The ID used to start the search session. It must be a valid UUID version 4.

Link copied to clipboard

The action type taken by the user.

Functions

Link copied to clipboard
operator fun component1(): UUID
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun component4(): Int
Link copied to clipboard
operator fun component5(): Date
Link copied to clipboard
fun copy(sessionId: UUID = this.sessionId, type: FeedbackEventType = this.type, resultId: FeedbackResultId = this.resultId, @IntRange(from = 0) position: Int = this.position, actionTime: Date = this.actionTime): FeedbackEvent
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String