选择 file -> invalidate caches

下面的也可以全选

点击 invalidate and restart
Could not transfer artifact junit:junit:pom:4.13 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/junit/junit/4.13/junit-4.13.pom
Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.5.6 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.5.6/spring-boot-starter-parent-2.5.6.pom
错误原因未 开启了 charles 无法下载包。关闭charles就可以了
开篇课程
http://w.cn {
reverse_proxy 127.0.0.1:8100
}
http://hyperf.web {
reverse_proxy 127.0.0.1:9501
}
es批量跟新某个字段 my_field 和 index改成自己的字段
POST /index/basic/_update_by_query
{
“script”: {
“source”: “ctx._source[‘my_field’]=’true'”
},
“query”:{
“bool”:{
“filter”:[
{
“bool”:{
“must”:[
{
“match_phrase”:{
“my_field”:{
“query”:”false”
}
}
}
]
}
}
]
}
}
}