sunty
2024-05-26 ae0b323f39448a61caa359222c033e509d5c6054
db/elastic.go
@@ -82,8 +82,7 @@
                            "lt": "now-` + strconv.Itoa(dayLt) + `d/d"
                        }
                    }
                },
                }
            ],
            "must_not": [
                {
@@ -122,8 +121,8 @@
        }
    }
}`
   //fmt.Println(queryDSL)
   //fmt.Println(esURL)
   fmt.Println(queryDSL)
   fmt.Println(esURL)
   docNumberMap := make(map[string]string)
   buf, err := esutil.EsReq("POST", esURL, []byte(queryDSL))
   if err != nil {