package page

// SearchRequest represents the search pages request
type SearchRequest struct {
	Query  string `json:"query"`
	Limit  int64  `json:"limit"`
	Offset int64  `json:"offset"`
	Filter string `json:"filter,omitempty"`
}

// SearchResponse represents the search pages response
type SearchResponse struct {
	Hits             []map[string]interface{} `json:"hits"`
	Query            string                   `json:"query"`
	ProcessingTimeMs int64                    `json:"processing_time_ms"`
	TotalHits        int64                    `json:"total_hits"`
	Limit            int64                    `json:"limit"`
	Offset           int64                    `json:"offset"`
}
