elasticsearch postman操作


1.  新建索引 school

2. 刪除索引 school

3.   新建類型

 

 

 

 根據條件批量更新

根據條件批量刪除

 

Null 處理

http://localhost:9200/school/person/_search
{
    "query" : {
        "constant_score" : {
            "filter" : {
                "bool": {
                    "must": {"exists": {"field": "crmNo"}}
                }
            }
        }
    }
}

  

 

 

不為Null 處理

http://localhost:9200/school/person/_search
{
    "query" : {
        "constant_score" : {
            "filter" : {
                "bool": {
                    "must_not": {"exists": {"field": "name"}}
                }
            }
        }
    }
}

  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM