FeedbackEvent
class 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 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 action type taken by the user.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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