feat: es7 read data(scroll => search_after)

This commit is contained in:
loveuer
2024-07-15 14:07:43 +08:00
parent 059550898e
commit 0aee33d553
5 changed files with 130 additions and 58 deletions

View File

@ -4,6 +4,7 @@ type ESSource struct {
DocId string `json:"_id"`
Index string `json:"_index"`
Content map[string]any `json:"_source"`
Sort []any `json:"sort"`
}
type ESResponse struct {