query: = elastic.NewTermQuery ("category_id", categoryId)
result, e: = ES.GetEs (). Search (). Index ("group_category"). Type ("_ doc") .query (query) .sort ("img_date", false) .Do (context.Background ())
in this way, the search returns all the fields. I want to return only the specified fields. How should I set them? For example, I just want to return to the id field and ask for guidance from all of you!