[elasticsearch笔记] refresh/optimistic_concurrency_control重点refreshoptimistic concurrency control
重点数据写入后,并不是马上可以search到,需要refresh(index.refresh_interval 默认1s)refreshempty string or truewait_forfalse (the default)refresh GET /twitter/_search { "query": { "match_all": {} ...