1. 程式人生 > >elasticsearch 查詢設置

elasticsearch 查詢設置

earch query search user arc elastics 查詢 window cse

es設置scroll

curl -XPOST -u "USER:PASS" http://IP:PORT/INDEX/TYPE/_search?scroll=5m -d
‘{
"size" : 5,
"query" : {
"match_all" : {
"boost" : 1.0
}
}
}‘

curl -XPOST -u "USER:PASS" http://IP:PORT/INDEX/TYPE/_search/scroll?scroll=5m&scroll_id=xx

es 設置windows size

elasticsearch 查詢設置