env:
elasticsearch 6.2.4
 
My application just has insert operations,but my elasticsearch index has a lot deleted doc when I check elasticsearch status?
{
"primaries": {
"docs": {
"count": 1044318,
"deleted": 34382
},
"store": {
"size_in_bytes": 61327772606
},
"indexing": {
"index_total": 1487932,
"index_time_in_millis": 16874641,
"index_current": 0,
"index_failed": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0,
"noop_update_total": 0,
"is_throttled": false,
"throttle_time_in_millis": 0
},
 
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    May 8, 2019,  7:17am
                   
                   
              2 
               
             
            
              Are you updating existing documents?
             
            
               
               
               
            
            
           
          
            
            
              Hi ,thank you for reply!
According to the developers said just has insert operations,may be inserting same data to ES
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    May 9, 2019,  6:35am
                   
                   
              4 
               
             
            
              Inserting same data with the same _id means updating. Is it the case? 
If it is, then that explains.
A document update is basically a Delete + Insert operation.
             
            
               
               
               
            
            
           
          
            
            
              Thank you for reply! 
Yes,it is the case!
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    June 6, 2019, 10:09am
                   
                   
              6 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.