按照匹配度排序
This commit is contained in:
@@ -65,7 +65,6 @@ type Response struct {
|
||||
|
||||
func (res Response) ToIDList(first, last int, after, before string) (id_list []string) {
|
||||
for _, hit := range res.Hits.Hits {
|
||||
fmt.Println(hit)
|
||||
id_list = append(id_list, hit.ID)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user