Files
mayfly-go/server/internal/es/api/form/es_export.go
zongyangleo 96ef4d2d6f !157 refactor: kafka操作优化
* feat: es新增导出功能
* refactor: kafka操作优化
2026-06-02 10:30:29 +00:00

10 lines
510 B
Go

package form
type EsExportForm struct {
IdxName string `json:"idxName" binding:"required"`
SearchQuery any `json:"searchQuery"` // ES search query body (optional, defaults to match_all)
ExportType string `json:"exportType" binding:"required"` // csv, excel, json
Fields []string `json:"fields"` // fields to export (optional, nil means all)
ExportId string `json:"exportId"` // UUID for progress tracking (optional)
}