按照匹配度排序

This commit is contained in:
2023-12-09 03:16:16 +08:00
parent e5017fdcdb
commit a492f6d6eb
4 changed files with 5 additions and 14 deletions

View File

@@ -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)
}